getRowIndex for hidden rows


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?

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”);