I use distributed parsing and a post processing callback routine, which is called on “onDistributedEnd”.
bomGrid.init();
…
bomGrid.enableDistributedParsing(true);
bomGrid.splitAt(8);
bomGrid.attachEvent(“onDistributedEnd”, postProcessing);
Problem: the event “onDistributedEnd” is NOT called if the XML data contains less than 10 rows.
How can I ensure that the post processing routine is called also for small grids?
Thanks and regards,
Helmut Frankenbach
Thank you for your node. This issue confirmed. As a work around you can ensure if post processing was finished in case of small grid with 2nd parameter of post method:
mygrid.post(url,doOnLoad);
function doOnLoad(){
//all rows where loaded.
}
bomGrid.post(xmlURL, postProcessing); does not work, “incorrect parameter” error in browser (IE6)