SMART datagrid v.1 > Classes > CellIndex
通过column,设置包含单元格的列。
var rowIndex: Integer = -1;
$('#setColor').click(function () {
var index = grid.focusedIndex();
if (index.rowIndex >= 0) {
grid.body().rowStyles().setRow(index.rowIndex, { background: '#ff0000'});
}
}