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

columnIndexByDate

Description

Возвращает индекс колонки, соответствующей заданной дате

columnIndexByDate: (date: Date) => number

Parameters

  • date - (required) Date - объект даты

Returns

  • index - (number) - индекс колонки

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.