getRowData

returns the row data

object getRowData(string rowId);

Parameters

rowIdstringthe row id

Returns

objectthe row data

Example

myGrid.setColumnIds("id1,id2,id3"); //setting ids for columns of the row with id "row1"
var data = myGrid.getRowData("row1"); 
// -> data = {"id1":"value","id2":"value2","id3":"value3"}

Details

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

See also
Change log

added in version 5.1

Back to top