SMART datagrid v.1 > Classes > CellIndex
It returns dataIndex of grid row of this location.
If column indicates a valid column object, you do not need to specify parameter grid.
$('#deleteRow').click(function () {
var dataIndex = grid.focusedIndex().getDataIndex();
if (dataIndex >= 0) {
grid.dataSource().deleteRow(dataIndex);
}
}