Check documentation for the latest version of dhtmlxSuite selectRowById DHTMLX Docs

selectRowById

selects row by ID

void selectRowById(string|number row_id,boolean preserve,boolean show,boolean call);
row_idstring|numberrow id
preservebooleanpreserve previously selected (optional, false by default). Multi select mode should be enabled.
showbooleanscroll row to view (optional, true by default)
callbooleanif true, call the onRowSelect function (optional, false by default)

Example

// minimal parameters' set
myGrid.selectRowById('row1');
// maximal parameters' set
myGrid.selectRowById('row1',true,true,true);

See also
Back to top