EditSettingsModel
23 Sep 20251 minute to read
Interface for a class EditSettings
Properties
allowAdding boolean
If allowAdding is set to true, new records can be added to the Grid.
allowDeleting boolean
If allowDeleting is set to true, existing record can be deleted from the Grid.
allowEditOnDblClick boolean
If allowEditOnDblClick is set to false, Grid will not allow editing of a record on double click.
allowEditing boolean
If allowEditing is set to true, values can be updated in the existing record.
allowNextRowEdit boolean
If allowNextRowEdit is set to true, editing is done to next row. By default allowNextRowEdit is set to false.
dialog IDialogUI
Defines the dialog params to edit.
footerTemplate string|Object|Function
Defines the custom edit elements for the dialog footer template.
headerTemplate string|Object|Function
Defines the custom edit elements for the dialog header template.
mode EditMode
Defines the mode to edit. The available editing modes are:
- Normal
- Dialog
- Batch
newRowPosition NewRowPosition
Defines the position of adding a new row. The available position are:
- Top
- Bottom
showAddNewRow boolean
If showAddNewRow is set to true, it indicates whether to display the add new form by default in the grid.
showConfirmDialog boolean
if showConfirmDialog is set to false, confirm dialog does not show when batch changes are saved or discarded.
showDeleteConfirmDialog boolean
If showDeleteConfirmDialog is set to true, confirm dialog will show delete action. You can also cancel delete command.
template string|Object|Function
Defines the custom edit elements for the dialog template.