Перейти к основному содержимому

getTaskByRowNumber

Description​

Finds a task by its row number

getTaskByRowNumber: (rowNumber: number) => Task | null

Parameters​

  • rowNumber - (required) number - a positive integer

Returns​

The matching loaded task, or null if the number is invalid or has no match.

Example​

const task = gantt.getTaskByRowNumber(5);

Details​

Pass the number returned by getRowNumber to look up a task.

This method is available in paid editions.

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.