SMART datagrid v.1 > Classes > EditOptions
If set as true, the user can erase the values of the selected area by Delete key.
It will set the value of cells of being erased as undefined. You can also erase the values by calling GridBase.eraseSelection. eraseSelection can be Undone.
Defaults to false.
grid.setOptions({
edit: {
erasable: true,
deletable: true
}
});
grid.setEditOptions({
deletable: true,
erasable: true
});
grid.editOptions().setErasable(true);