Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Paul on Oct 06, 2008 06:38
open dhtmlx forum
getRowIndex for hidden rows

Hi,

I'm trying to update the values of cells in a treegrid.

I'm identifying rows with getRowIndex but it fails for rows which are not visible as they are collapsed. Visible rows are fine.

Is there a way to update cells when they are in a collapsed state?
Answer posted by Support on Oct 06, 2008 07:06
The row can be identified by row index or by row ID 
While row index can't be used for invisible rows, row ID can be used for row in any state. 

grid.cells(rowId,cell_index).setValue("new one");