edit

enables the edit mode for the specified item

void edit(object id);

Parameters

idobjectthe object defining the position of a cell

Example

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

Related samples

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,
    ...
});
See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix javascript dashboard framework and page of download datatable product.