Data area of SMART datagrid consists of cells such as data cells and group header or footer, and in order to visit each cell, you will need the only value which displays the cell location. The cell location is determined by index of Row which contains the cell, and in the case of data cell, it is determined by Column which contains the cell.
CellIndex object has this value, and it has defined several useful property and methods. The function which requires the cell location or the event parameter is basically this Cell Index object. In addition, the current cell location, which has the input focus of the grid, can be specified or known through GridBase.focusedIndex property.
// Change the focus index.
var index = grid.focusedIndex();
if (index.rowIndex < 10) {
var column = grid.getVisibleColumn(2);
index = new CellIndex(10, column);
grid.setFocusedIndex(index);
}
In other cells except the data cell, column value of Cell Index can be null. And, only column value will be required in some cases.