getRowIndex

gets the row index by the row id (grid only)

number getRowIndex(string|number row_id);

Parameters

row_idstring|numberrow id

Returns

numberthe row index

Example

//get the index of the row with the id "row1"
var rowIndex=myGrid.getRowIndex("row1");

Back to top