Check documentation for the latest version of dhtmlxSuite setRowData DHTMLX Docs

setRowData

sets new data for row's columns

void setRowData(string rowId,object data);
rowIdstringthe row id
dataobjectdata to be set for a row in JSON format

Example

var new_data = {"id1":"value","id2":"value2","id3":"value3"};
myGrid.setRowData("row1",new_data); // setting new data for the row with id "row1"

Details

In order to set data for the row, you need to check that related columns have ids specified.

See also
Change log

added in version 5.1

Back to top