SMART datagrid v.1 > Classes > GridDataSet
Change the value of field which is specified by field of data row corresponding to rowIndex location.
You can specify field index or field name in field. And, differently from setValue, if checkDiff is not true, it will be stored and will fire change event regardless of whether it is changed actually.
var index = grid.focusedIndex();
if (index.isDataCell(grid)) {
var value = $('#salary').val();
// It stores and fires the event regardless of whether it is changed actually.
ds.setValue(index.getDataIndex(grid), index.getDataField(), value, false);
}