SMART datagrid v.1 > Classes > GridBase
Change the value of field specified by field of Grid Row specified by parameter rowIndex.
In rowIndex, you can directly specify GridRow object. In field, you can specify the field name, field index or Column Object.
$('#checkValue').click(function () {
var row = grid.focusedDataRow();
if (row) {
var v = grid.getValueAt(row.index(), 'fldSalary');
if (v < 3000) {
grid.setValueAt(row.index(), 'fldSalary', 3000);
}
}
});