onBeforeEditStart

fires before edit operation is initiated

boolean onBeforeEditStart(object cell);
cellobjectthe cell that will be edited (details below)
booleanreturning false will prevent editing of an item

Example

$$("datatable1").attachEvent("onBeforeEditStart", function(cell){
    //... some code here ... 
    return true;
});

Details

The cell parameter is an object with the following properties:

  • row - (number) the number of the row,
  • column - (string) the ID of the column.
$$("datatable1").attachEvent("onBeforeEditStart", function(cell){
    webix.message("The editor will be opened in row " + cell.row + " column \"" + cell.column + "\"");
    return true;
});
See also
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.
If you have not checked yet, be sure to visit site of our main product Webix ui library and page of tree table widget product.