Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Carsten Haerle on Sep 23, 2009 09:28
open dhtmlx forum
How to wait for all asynchronous actions and updates finished

We use dhtmlxgrid, dhtmlxtreegrid and dhtmlxgrid with a testing framework.

We need to query the status of the components on the site for "all actions and updates finished", because currently the test framework clicks to fast on the page.

E.g. when opening a treegrid item, the updates is asynchronous and the child items appear after a certain time. How can we query the treegrid component whether all updates have been finished. Either there should be a status variable or two events "startOfAllActions" and "endOfAllActions" so we can make this variable ourselfs.
Answer posted by dhxSupport on Sep 23, 2009 09:53