onXMLLoadingEnd is not being fired.
We read a similar question that asked to change the way the event was attached, but it is not working in any of those cases.
onXmlLoadingEnd(grid,objcount)
{
alert(‘onXmlLoadingEnd event fired!!!’);
mygrid.setSizes();
}
We are using without success the following attachments:
a)
mygrid.attachEvent(“onXLE”,onXmlLoadingEnd);
b)
mygrid.setOnLoadingEnd(onXmlLoadingEnd);
c)
mygrid.attachEvent(“onXMLLoadingEnd”,onXmlLoadingEnd);
Any idea? We need to resize just after the xml is loaded.
Thanks in advance.
Carlos
The dhtmlxGrid 1.3 has small issues with
mygrid.setOnLoadingEnd(onXmlLoadingEnd);
but both
mygrid.attachEvent(“onXLE”,onXmlLoadingEnd);
mygrid.setOnLoadingEnd(onXmlLoadingEnd);
must work correctly
do you use grid in plain mode or some additional functionality , such as smartRendering or Paging enabled?
is event attached before loadXML command ?
If problem still occurs for you please provide full grid initialization code