getLastSelectedTask
Description
Returns the id of the last selected task
getLastSelectedTask: () => string | number
Returns
id- (string | number) - the id of the last selected task
Example
gantt.getLastSelectedTask();
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
- eachSelectedTask
- getSelectedTasks
- multiselect
- multiselect_one_level
- isSelectedTask
- toggleTaskSelection