Back to Devexpress

ASPxClientGantt.ScrollToDate(date) Method

aspnet-js-aspxclientgantt-dot-scrolltodate-x28-date-x29.md

latest1.1 KB
Original Source

ASPxClientGantt.ScrollToDate(date) Method

Scrolls the Gantt chart to the specified date.

Declaration

ts
ScrollToDate(
    date: Date | string | number
): void

Parameters

NameTypeDescription
datestringnumber

The date.

|

Remarks

You can pass the date to the ScrollToDate method in the following formats:

  • Date

  • Number - Specifies a date as a timestamp (total milliseconds since 1970/01/01).

  • String - Specifies a date as a string value.

Note that the ScrollToDate method scrolls to a date inside the current scroll area. You can zoom the chart to resize the viewport.

See Also

ASPxGantt - Overview

MVCxGantt - Overview

ASPxGantt - 'How To' Examples

MVCxGantt - 'How To' Examples

ASPxClientGantt Class

ASPxClientGantt Members