gets the row index by the row id (grid only)
//get the index of the row with the id "row1" var rowIndex=myTreeGrid.getRowIndex("row1");