onBeforeMultiSelect

fires before selecting a task or a range of tasks

void onBeforeMultiSelect(Event e);
eEventa native event object

Example

gantt.attachEvent("onBeforeMultiSelect", function(e){
    // some logic here
    return true;
});

Details

This event is defined in the multiselect extension, so you need to activate the multiselect plugin. Read the details in the Multi-Task Selection article.

The event is blockable, returning false will cancel multiple selection of tasks.

See also
Back to top