BeforeUnSelect

fires on unselecting an item, but before the item is really unselected

boolean BeforeUnSelect(string id);

Parameters

idstringthe id of an item

Returns

booleanfalse - to prevent unselecting of an item, otherwise - true

Example

selection.events.on("BeforeUnSelect", function(id){
    // your logic here
    return false;
});

Back to top