The RowEditing plugin
The Ext.grid.plugin.RowEditing
plugin injects editing at the row level for a Grid. When editing begins, a small floating dialog will be shown for the appropriate row. Each editable column will show a field for editing. There is a button to save or cancel all changes for the edit. The editor
field can be a field instance or a field configuration and we need to provide this within the editor
configuration option within the column definition. If an editor is not specified for a particular column, the cell of that column will not be editable and the value of the cell will be displayed.
When we configure a column to use an editor for row editing, we should choose an appropriate field type to match the data type that this editor field will be editing. For example, to edit a date value in the cell, it would be useful to specify Ext.form.field.Date
as the editor.
Here, in the following code we are defining a grid class in which we are using the RowEditing
plugin to edit the row...