Enters edit mode for the specified record and field.
editField(recid, column, [value], [event])
recid |
string, id of the record |
column |
integer, column index in columns array |
value |
string, optional, new value for the edit control |
event |
DOM Event, optional, associated DOM event |
Returns
undefined.
Description
The method is called when user double clicks on the field and it initiates field edit mode inserting the INPUT control and attaching
events. The edit mode will also be initiated if user starts typing. This method is called internally and will pass all four arguments.
However, you can call this method directly to trigger user input. You can optionally pass
value argument
to replace current value of the cell just before user starts typing. The method emits
.onDelete event.
If you have grid defined in the following way:
You can do select several records and delete them: