jQWidgets Forums

jQuery UI Widgets Forums Scheduler Calendar Date Range

This topic contains 3 replies, has 2 voices, and was last updated by  Peter Stoev 9 years, 4 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Calendar Date Range #80157

    yougotnet
    Participant

    When the page is first loaded and I am creating the source object for events, I need to know what the from and to dates are that the calendar is showing. For example, when viewing January 2016, the range is December 27, 2015 to February 6, 2015; I need to make this a part of my request to the server in the source object.

    How do I get these dates before the calendar is rendered in order to send to the server to retrieve the appropriate events?

    Calendar Date Range #80187

    Peter Stoev
    Keymaster

    Hi yougotnet,

    This is not possible.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Calendar Date Range #80210

    yougotnet
    Participant

    Then how are you suppose to know what events to put on the Scheduler if you don’t know what dates the scheduler is for?

    Calendar Date Range #80215

    Peter Stoev
    Keymaster

    Hi yougotnet,

    Using the Scheduler’s date property you can get the current date in the Scheduler. Using the view property, you can get the current view and make your calculations.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.