getOutlineNumber
Description
Returns the outline number of a task
getOutlineNumber: (task: Task) => string
Parameters
task- (required) Task - the task object
Returns
A dotted outline number such as "2.1", or an empty string for a task without an outline number.
Example
const number = gantt.getOutlineNumber(gantt.getTask(taskId));
Details
Gantt derives the outline number from the task's position in the hierarchy. Sorting, filtering and collapsing the grid do not change it. When grouping is active, the number follows the grouped hierarchy.
This method is available in paid editions.
Related API
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.