dhtmlx - Dhtmlxgrid 4.0 doesn't load data from the ASP.Net MVC view -
in asp.net mvc web application used have dhtmlxgrid plugin v 3.5 , updated v4.0. before easy generate dynamic values grid in separate .cshtml view , pass url of method inlo loadxml this:
mygrid.loadxml('@url.action("xmlvalues")');
now in version 4.0 replaced loadxml() load(), still should able same thing. instead of parsing info grid shows alert xml code generated within view , table body empty. can't load simple xml if passes through view:
<?xml version="1.0" encoding="utf-8"?> <rows> <row id="1"> <cell>1</cell> <cell>2</cell> </row> </rows>
but if re-create external xml file , pass path file method works correctly.
mygrid.load("/xml.xml");
what problem new load() method , how create work dynamic info in asp.net mvc used to?
please create sure there no chars in generated xml. example, space (" ") before xml header.
asp.net-mvc dhtmlx
No comments:
Post a Comment