Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by igor on Oct 12, 2007 14:25
open dhtmlx forum
Thank you for your quick answer. The first one works fine, except that I have to insert an alert and wait for the grid loading, after it is loaded and I press the ok on the alert dialog, the function scrolls to the desired position. How do I test (in a while loop maybe) if the grid data is loaded? Thank you in advance. Best Regards, Igor


Answer posted on Oct 12, 2007 18:47
The loading is async, so you need to use onXLE event or next syntax

grid.loadXML('data.url',function(){
    //any command here will be called only after XML loading
    ...
});