跳到主要内容

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.