SMART datagrid v.1 > Classes > CellIndex
If column is the last column which is being displayed in grid, it will return true.
var index = grid.focusedIndex();
if (index.isLastColumn() && index.rowIndex == grid.rowCount() - 1) {
alert('This is Last Cell');
}