SMART datagrid v.1 > Classes > EditOptions
If it is true, the user will not be able to edit data cell value during run time.
In other words, you cannot insert, append, delete rows or update the existing rows. You can specify whether it is readOnly in column or cell unit, but you should specify this value as false first to enable editing.
You can specify whether can display the cell editor by editable and DataColumn.editable.
Defaults to false.
grid.setOptions({
edit: {
readOnly: true,
editable: true
}
});
grid.setEditOptions({
readOnly: true,
editable: true
});
grid.editOptions().setReadOnly(true);