get row id

How to get the row id if i have the row index

get row id from index

var id = grid.getRowId(index);