Skip to main content

onBeforeMultiSelect

Description

Fires before selecting a task or a range of tasks

onBeforeMultiSelect: (e: Event) => void;

Parameters

  • e - (required) Event - a native event object

Example

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

Details

note

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.