getSelectedTasks
Description
Returns an array of the currently selected tasks
getSelectedTasks: () => any[]
Returns
tasks- (array) - an array of tasks' ids
Example
gantt.getSelectedTasks();
Details
note
This method is defined in the multiselect extension, so you need to activate the multiselect plugin. Read the details in the Multi-Task Selection article.
Related API
- batchUpdate
- eachSelectedTask
- getLastSelectedTask
- multiselect
- multiselect_one_level
- isSelectedTask
- toggleTaskSelection
Related Guides
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.