Check documentation for the latest version of dhtmlxSuite getRowIndex DHTMLX Docs

getRowIndex

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

number getRowIndex(string|number row_id);
row_idstring|numberrow id
numberthe row index

Example

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

Back to top