Hi, I use this event as this:
[…]
myGrid.init();
myGrid.attachEvent(‘onXLE’, ajaxLoading(false));
myGrid.loadXML(‘xmlMyGrid.php’);
The attached function jump when All XML data is recived by the dhtmlXgrid but I need to execute a trigger when the data is processed.
In stress cases like a grid with 138 columns and arroun one hundred of rows, the delay is considerable.
Exist another event like onRenderedGrid???
thanks for all
Kind Regards
Àlex Corretgé
myGrid.attachEvent(‘onXLE’, ajaxLoading(false));
You are using incorrect syntax, the correct command will be
myGrid.attachEvent(‘onXLE’, ajaxLoading);
or
myGrid.attachEvent(‘onXLE’, function(){
ajaxLoading(false)
});
>>Exist another event like onRenderedGrid???
There is an alternative syntax
myGrid.loadXML(‘xmlMyGrid.php’,function(){
ajaxLoading(false)
});
Perfect!
Thanks for all.