edit
enables the edit mode for the specified item
function edit( // the object defining the position of a cell id: WebixCellObject): void
Example
Section titled “Example”dtable.edit({ row:2, column:"title"});
also check the next samples:
Details
Section titled “Details”Note that the method will work only with the enabled editable parameter:
webix.grid({ editable:true});
The input object parameter should contain 2 attributes:
- row - (string) the row id
- column - (string) the column id
Still, for datagrid it’s better to use its editCell, editRow and editColumn methods.
The method is useful when adding a hotkey to open edit state.
const pos = grid.getSelectedId(); grid.edit(pos); //edit a selected item
you can check the full snippet Using the ‘select’ Editor
See also
Section titled “See also”Articles