How to wait for all asynchronous actions and updates finishe

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.

Please check grid’s and treeGrid’s events here dhtmlx.com/dhxdocs/doku.php?id=d … t_handling