cells(rId,colIndex).setValue(val) does not work on sub_row

I downloaded dhtmlxGrid version 4 but when i tried to use the method setValue to update a sub_row cell it does not work. Actually when the sub_row is expanded the MINUS sign changes to PLUS sign but the cell is still being expanded and the value does not update.

any solution ? :slight_smile:

As usual i have to ask again: Any solution? :slight_smile:

setValue() method works well for the subgrid cells but before the subgrid is loaded.
if the content of the subgrid is already rendered you may try use the following solution:

mygrid.cells(id,ind).close(); mygrid.cells(id,ind).setContent("") mygrid.cells(id,ind).setValue("grid.xml")