SMART datagrid v.1 > Classes > GridDataSet
Return true if can update the data row in row location.
$('#update').click(function () {
// In grid, it updates the first field of the focused row.
var rowIndex = grid.focusedRow().dataIndex();
if (dataset.canUpdateRow(rowIndex)) {
ds.updateRow(rowIndex, {
addr: $('#addr').val(),
salary: $('#salary').val(),
name: $('#name').val()
}, true);
}
});