Sets or retrieves the row state. The row state is a composite value which is calculated in the calculateRowState method from the individual properties (row selected, current row).
The cell state is linked to the css class in the cell template and determines grid cell visual appearance.
var value = obj.getRowState();
obj.setRowState(value);
obj.onRowStateChanging = function(value){...};
obj.onRowStateChanged = function(value){...};
obj.onRowStateError = function(value){...};
default implementation -
obj.calculateRowState = function(i){
var state = "";
if (this.getCurrentRow()==i){state = "current"}
if (this.getRowSelected(i)){state = "selected"}
this.setRowState(state, i);
};
Row model: count, indices, position, offset, selected, height