jQWidgets Forums

jQuery UI Widgets Forums Angular Calendar – date range beyond restricted dates

This topic contains 1 reply, has 2 voices, and was last updated by  Martin 6 years, 7 months ago.

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

  • tihomir
    Participant

    Is it possible to select a date range that includes the restricted date(s)?
    In the example below it seems it’s not possible or maybe I’m doing something wrong.

    Please, try to select the date range from 8th to 10th or later. For example, if date range starts on the 8th day then date range can finish on the 8th or 9th day but not after the first restricted date.

    Additionally, is it possible to select the date range from end to start by just picking two dates in the calendar? Start of the date range would be the smaller date, and the end of the date range would be the bigger date.

    Example:
    https://stackblitz.com/edit/github-k5bhdc


    Martin
    Participant

    Hello tihomir,

    No, the restricted dates cannot be clicked or selected in a range.
    If you need this, I would suggest you to use ‘special date’, instead.
    Here is an Example.

    The date range is selected from end to start, when the rtl property of the calendar is set to true.
    You can also use the setRange method.

    Best Regards,
    Martin

    jQWidgets Team
    http://www.jqwidgets.com/

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

You must be logged in to reply to this topic.