BeforeSelect

fires on selecting an item, but before the item is really selected

boolean BeforeSelect(string id);

Parameters

idstringthe id of an item

Returns

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

Example

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

Back to top