onBeforeSelect

fires before item selection has started

boolean onBeforeSelect(id id,boolean selection);
id
idthe id of an item selection
booleanreturns the selection status
booleanreturning false will prevent selecting of an item

Example

some.attachEvent("onBeforeSelect", function(id, selection){
  // ... some code here ...
  return true;
});

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 js frameworks and page of javascript context menu product.