onBeforeSelect

fires before item selection is started

boolean onBeforeSelect(id id,boolean selection);
ididid of item
selectionbooleantrue if the item was selected, false if it was unselected
booleanreturning false will prevent selecting of an item

Example

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

See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix popular javascript framework and page of javascript library list product.