onBeforeSelect

fires before item selection has started

boolean onBeforeSelect(id id,boolean selection);
ididthe id of an item
selectionbooleanreturns 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
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.