columnIndexByDate

returns the index of the column by the date

number columnIndexByDate(Date date);
dateDatea date object
numberthe index of the column

Example

gantt.columnIndexByDate(new Date(2017, 03, 11)); // ->10

Back to top