how do i get the last index of row and the last id of cell?


var maxRowInd = grid.getRowsNum()-1;
var maxColumnInd = grid.getColumnsNum()-1;