SMART datagrid v.1 > Classes > CellIndex
It adjusts the values so that this CellIndex can specify a valid location.
It resets to make it be the first column which is displayed in grid if rowIndex is greater than 0 and less than GridBase.rowCount and if column is null.
$('#focus').click(function () {
var index = grid.focusedIndex();
if (!grid.isValidCell(index)) {
index.normalize();
grid.setFocusedIndex(index);
}
})