onBeforeUnSelect

fires before unselection of an item has started

boolean onBeforeUnSelect(id id,boolean selection);
ididthe id of an item
selectionbooleanreturns the selection status
booleanreturning false will prevent unselecting of an item

Example

some.attachEvent("onBeforeUnSelect", 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.