Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Simon on Apr 28, 2008 03:50
open dhtmlx forum
i immediately invoke getRowsNum() after load data method, result is 0, how to figure it out?

i immediately invoke getRowsNum() after load data method, the result of record number is 0, how to figure it out?
thank you
Answer posted by Support on Apr 28, 2008 05:39
The loading is async. You need to wait the moment when all data loaded.
It can be done by onXLE event, or by using second parameter of loadXML command