selects a row (and its first cell)
row | number|HTMLElement | row index or row object |
fl | boolean | if true, call function on select (optional, false by default) |
preserve | boolean | preserve previously selected rows, true/false (false by default). Multi select mode should be enabled. |
show | boolean | true|false - scroll row to view, true by default |
//select the first row in the grid
mygrid.selectRow(0);
//select the first row in the grid, call the "onRowSelect" function,
//preserve previously selected rows, scroll row to view
mygrid.selectRow(0,true,true,true);
Back to top