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 4 years, 8 months ago.

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

  • andypet74

    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?



    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,

    jQWidgets Team

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

You must be logged in to reply to this topic.