Calculates the cell state. The cell state is a composite value which is calculated from the individual properties (cell selected, current column, current row).
The cell state is linked to the css class in the cell template and determines grid cell visual appearance.
nulldefault implementation -
obj.calculateCellState = function(i, j){
var state = "";
if (this.getCurrentColumn()==i && this.getCurrentRow()==j){state = "current"}
if (this.getCellSelected(i, j)){state = "selected"}
this.setCellState(state, i, j);
};
Grid templates: cell
Cell model: text, image, tooltip, link, value, data, format, editable, state, selected