jQWidgets Forums

jQuery UI Widgets Forums Scheduler time range in monthView and agendaView

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

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

  • fitness
    Participant

    Hello,

    I would like to set up scheduler with monthView and agendaView so that the time range is always the same in the tool bar.

    I used the days property set to 42 but the range in the toolbar changes when I switch between views.

    These are my settings:
    ……………………………………………………………..
    toolBarRangeFormat: ‘dd MMMM yyyy’,
    ………………………………………………………………
    views:
    [
    {type: ‘monthView’, timeRuler: {formatString: “HH: mm”}},
    {type: ‘agendaView’, days: “42”, timeRuler: {formatString: “HH: mm”}}
    ]
    ………………………………………………………………

    How can I get this? Is the setting of days incorrect? Can I act on other properties?

    Thanks in advance


    Hristo
    Participant

    Hello fitness,

    I would like to ask you for more details.
    But as I understand you the days member is changed with changing the dates.
    I tested this example and it seems to work fine.
    Could you clarify it?

    Best Regards,
    Hristo Hristov

    jQWidgets team
    https://www.jqwidgets.com


    fitness
    Participant

    Hello

    thanks for your support and example.

    The scheduler in the Month view shows 6 Weeks i.e. 42 days. I set the days = 42 property for this in the Agenda view.

    I can’t understand if it was possible to show the same time range from one view to another.

    These are the time ranges shown by the example:

    viewMonth:
    – 01 November 2015 – 12 December 2015
    – 29 November 2015 – 09 Juanary 2015
    – 27 December 2015 – 06 February 2015

    viewAgenda:
    – 01 November 2015 – 13 December 2015
    – 13 December 2015 – 24 Juanary 2015
    – 24 Juanary 2015 – 06 March 2015

    Thanks in advance


    Peter Stoev
    Keymaster

    Hi fitness,

    It is not possible to have the exact range set in month view and agenda view. The reason is that month view includes dates also from previous and next months, while the agenda view is strictly displaying dates depending on the “days” property value.

    Regards,
    Peter

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

You must be logged in to reply to this topic.