Hi,
I’m using dhtmlxGrid control in my application. I’ve purposefully provided wrong XML in grid.loadXML() api. It is not in standard format as dhtmlxGrid component needed. Still any error is not getting generated. The grid component gets successfully loaded with no columns and rows. Can I make it strict to generate error if proper XML is not provided??
Next can be used ( it relays on inner properties of grid, so may be broken by future updates )
mygrid.load(url, function(){
var xml = mygrid.xmlLoader.responseXML;
if ((xml.documentElement||xml.firstChild).tagName != "rows" )
alert("I'm incorrect");
})
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan