jQWidgets Forums

jQuery UI Widgets Forums Scheduler Disable day specific

This topic contains 2 replies, has 2 voices, and was last updated by  pablosym 9 years ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Disable day specific #83719

    pablosym
    Participant

    Hi
    it is possible to disable a specific day on the calendar, that is, we are today Wednesday that no events can be entered day Monday and Tuesday. this can be done?
    Gracias!

    Disable day specific #83744

    ivailo
    Participant

    Hi pablosym,

    You can manipulate the edit dialog with editDialogCreate callback.
    In your case you can restrict dates of the two jqxDateTimeInput widgets in this dialog.
    For example:
    $(".jqx-window-content").find(".jqx-datetimeinput").jqxDateTimeInput({ min: new Date(2015, 11, 1), max: new Date(2015, 11, 4)});

    Here is a demo.
    In this demo you can add events in specific range only.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

    Disable day specific #83838

    pablosym
    Participant

    Hi Ivailo
    Its work fine!, Thank you!

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

You must be logged in to reply to this topic.