getLastSelectedTask
Description
返回最后选中的任务的 ID
getLastSelectedTask: () => string | number
Returns
id- (string | number) - 最后选中的任务的 ID
Example
gantt.getLastSelectedTask();
Details
注释
本方法在 multiselect 扩展中定义,因此需要激活 multiselect 插件。有关更多细节,请阅读 Multi-Task Selection 文章。
Related API
- eachSelectedTask
- getSelectedTasks
- 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.