I am using SmartRendering in dhtmlxgrid and want to refresh the visible rows periodically. I’m thinking that doing a loadXML() with posStart and count set will do this for me but I cannot find how to get the values for posStart and count. Is there a method for this or maybe another way of refreshing the visible rows in my grid?
Thanks,
Mel
grid.getStateOfView() returns array with next data
- start
- count
- limit
>>and want to refresh the visible rows periodically
Just use updateFromXML instead of load
load command can’t update already loaded data ( you can clear old data and reload new only ), updateFromXML changes data in already rendered rows from incoming XML