onBeforeSelect

fires before a cell is selected

boolean onBeforeSelect(object selection,boolean preserve);
selection
objectthe selected object preserve
booleanindicates whether the previous selection will be saved
booleanreturning `false` will prevent item selection

Example

some.attachEvent("onBeforeSelect", function (selection, preserve){
    // ... some code here ...
    // return false to block operation
    return true;
});

Details

The selection object depends on the selection mode and includes the following attributes:

See also
  • API
  • Articles
  • 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 open source html5 framework and page of html5 datatable product.