jQWidgets Forums

jQuery UI Widgets Forums Scheduler Cancel add appointment in jqxScheduler.

This topic contains 1 reply, has 2 voices, and was last updated by  admin 5 years, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Cancel add appointment in jqxScheduler. #108264

    We’re using jqwidgets-ver8.3.2 at the moment.

    We needed a functionality to prevent overlapping of appointments in jqxScheduler.
    While adding appointment we need to cancel or throw exception if currently added appointment overlaps the another appointment in the scheduler.

    How can we achieve this???

    Thanks and Regards.


    admin
    Keymaster

    Hi klodhari,

    You can handle the “click” event of the edit dialog buttons and check the appointments collection of the Scheduler for existing appointments with the entered data in the edit dialog. If an appointment exists in the entered dates, enable/disable the buttons in the dialog. This will ensure a valid data entered by the user and you will avoid overlapping of appointments.

    Regards,
    Peter

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

You must be logged in to reply to this topic.