The widget allows a user to edit data in several modes, which are detailed in the mode option. To define what editing operations a user can perform, specify the allowAdding, allowUpdating and allowDeleting options. Before enabling an operation, make sure that your data source supports it.
Specifies whether a user can add new rows.
Specifies whether a user can delete rows.
Specifies whether a user can update rows.
Configures the form. Used only if editing.mode is "form" or "popup".
Default form editors depend on the columns' configuration. If the generated form does not meet your requirements, and you need to reorganize form items or set other form parameters, specify it in the form option. To link a form item with a grid column, assign identical values to the form.items.dataField and columns.dataField options.
Specifies how a user edits data.
The following list points out the differences in editing modes.
A user edits one row at a time. The widget saves changes when the row leaves the editing state.
A user edits data cell by cell. The widget does not save changes until a user clicks the global "Save" button.
Differs from the batch mode in that the widget saves changes when the cell leaves the editing state.
On entering the editing state, a row becomes a form with editable fields. The widget saves changes after a user clicks a "Save" button.
Differs from the form mode in that the form with editable fields is placed in a popup window.
When using the widget as an ASP.NET MVC Control, specify this option using the
GridEditMode enum. This enum accepts the following values:
Configures the popup. Used only if editing.mode is "popup".