getLastSelectedTask

returns the id of the last selected task

string/number getLastSelectedTask();

Returns

string/numberthe id of the last selected task

Example

gantt.getLastSelectedTask();

Details

This method is defined in the ext/dhtmlxgantt_multiselect.js extension, so you need to include it on the page. Read the details in the Multi-Task Selection article.

See also
Back to top