Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Mel Irizarry on Mar 12, 2009 13:05
open dhtmlx forum
posStart and count values in dhtmlxgrid

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
Answer posted by Support on Mar 13, 2009 05:55
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