TreeGrid Parse call back.

Hi,

Im using dhtmlx window component and attaching a treegrid to it, I have all my data loaded in page as json.
I need to call a some custom code after grid is loaded with data and window is visible or before visible to user

var w1 = dhtmlXWindows.createWindow(...); var auditGrid = layout.cells('b').attachGrid(); auditGrid.init(); auditGrid.parse(gridJson, "json");
I have searched docs and found grid.load() has callback but I do not want to use this method as my data is already present in page.

Regards

the parse() method works in the synchronous mode and it does not require the callback function.