SMART datagrid v.1 > Classes > EditOptions
If this value is true and readOnly is false, the user can delete the selected row(s) by typing ctrl+del keys.
If confirmWhenDelete is true, it will display the delete confirmation dialog box which is specified by deleteMessage first.
Defaults to false.
grid.setOptions({
edit: {
appendable : true,
deletable: true
}
});
grid.setEditOptions({
appendable : true,
deletable: true
});
grid.editOptions().setDeletable(true);