High-Performance UI Component Library for Enterprise Applications › Forums › Gantt › Gantt go to current day for use currentTimeIndicator

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #111458
    ufficio.it
    Participant

    Hi,

    it’s possible to go to the current day of calendar, for use the currentTimeIndicator, if I have a previous dateStart for the project?

    Thanks, Best Regards.

    • This topic was modified 2 years, 1 month ago by ufficio.it.
    #111462
    Markov
    Keymaster

    Hi,

    You can use a method called scrollToDate(date) to scroll to a specific date, not only the current one. So you can do scrollToDate(new Date()) for scrolling to today.

    Best regards,
    Markov

    Smart UI Team
    https://www.htmlelements.com/

    #111464
    ufficio.it
    Participant

    Hi Markov,

    thank you for the response, when I try to call gantt.scroolToDate(new Date) (gantt is the result of gantt = document.querySelector(‘smart-gantt-chart’);), I have an error because scroolToDate is not a function of Gantt. It’s correct?

    Thank you, Best Regards.

    #111467
    Markov
    Keymaster

    Hi,

    scroolToDate is not a function. It is called scrollToDate

    Best regards,
    Markov

    Smart UI Team
    https://www.htmlelements.com/

    #113743
    bensally
    Participant

    Witam wszystkich, chciałem opowiedzieć krótką historię z minionej niedzieli, bo emocje towarzyszące tamtej sesji trzymają mnie do dzisiaj. Szukając miejsca z płynnym działaniem na telefonie trafiłem na spingranny, które wyróżniało się fajnymi premiami dostępnymi dla mieszkańców regionu Polska. Zacząłem od klasycznego automatu Starburst, ale początkowo szczęście zupełnie mi nie dopisywało i zaliczyłem długą serię nieudanych podejść. Zaryzykowałem wtedy nieco wyższą kwotę niż zazwyczaj i ku mojemu zaskoczeniu ułożyła się pełna linia, przynosząc wygraną znacznie przekraczającą moje oczekiwania. Jeśli cenicie sobie wygodę oraz uczciwe podejście do użytkownika, na pewno będziecie zadowoleni z tego wyboru.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.