Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Boris Barbulovski on Aug 27, 2009 02:57
open dhtmlx forum
dhtmlXTreeGrid refreshItem method

How can I refresh dhtmlXTreeGrid data from xml service without component flicker, rows collapsing, and loosing scrollbar position. I thing dhtmlXTree has an method that does just that: refreshItem(0)

thanks.
Answer posted on Aug 27, 2009 09:07
Unfortunately there is no way to update item in the treeGrid with saving collapsing state and scroll bar position. The only way to update values in treeGrid is to use setValue() method:
treeGrid.cells(rowId,cellIndex).setValue("newValue")