Skip to main content

columnIndexByDate

Description

Returns the index of the column by the date

columnIndexByDate: (date: Date) => number

Parameters

  • date - (required) Date - a date object

Returns

  • index - (number) - the index of the column

Example

gantt.columnIndexByDate(new Date(2017, 03, 11)); // ->10
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.