Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Carlos Gomez on Jul 05, 2007 18:44
open dhtmlx forum
onXMLLoadingEnd problems

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
Answer posted on Jul 06, 2007 11:01
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

Answer posted by sematik (Support) on Nov 29, 2014 01:58

If you haven't found the needed information there and still looking for a solution, you will find the additional help checking joomla calendar google and javascript table paging.