jQWidgets Forums

jQuery UI Widgets Forums Scheduler JQScheduler Angular Default view today's date

This topic contains 1 reply, has 2 voices, and was last updated by  Todor 6 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • andypet74
    Participant

    I am working with the scheduler and angular and would like to know if there is a way to make it so when the scheduler loads it defaults to today’s date. For instance, if we are defaulting to week view I would want it to start with the last Sunday and end with the next Saturday. For today’s date, April 2nd, I would want The first day displayed to be March 31st, and the last day, Saturday, to be April 6th. Any ideas? It seems to default the date displayed to the appointment furthest in time, whether that be an appointment that is a few days old or an appointment 4 years away. I don’t want to have to make people go find today’s date just because they made appointments years in advance. Any help?

    Thanks.


    Todor
    Participant

    Hello andypet74,

    Please review the following example whether it fits your needs. The things different from the original default functionality demo are:
    – removed ensureAppointmentVisible method (row 14)
    – removed date property (row 108)

    Let us know if you need further assistance.

    Best Regards,
    Todor

    jQWidgets Team
    https://www.jqwidgets.com

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.