getSelectedRowId

returns the id of the selected row (a list of ids with default delimiter) or null, if there are no selected rows

string|number getSelectedRowId();

Returns

string|numberthe id of the selected row

Example

var selectedId = myGrid.getSelectedRowId();

Back to top