Documentation

edit

enables the edit mode for the specified item

void edit(object id);

Parameters

idobjectthe object defining the position of a cell

See also

Example

dtable.edit({
        row:2,
        column:"title"
});

Related sample:   Using the 'select' editor
Details

The method has been created for components compatibility and isn't handy for direct use.
We strongly encourage you to use editRow, editColumn, editCell instead of this method.

The input object parameter should contain 2 attributes:

  • row - (string) the row id
  • column - (string) the column id


Note, the method will work only with the enabled editable parameter:

webix.ui({
    view:"datatable",
    editable:true,
    ...
});
Back to top