jQWidgets Forums

jQuery UI Widgets Forums Scheduler Event for Next/previous button

This topic contains 2 replies, has 2 voices, and was last updated by  rajesh gupta 6 years, 2 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Event for Next/previous button #104367

    rajesh gupta
    Participant

    I am using scheduler. I am trying to get the callback for Next/Previous. I am not finding any docs. I tried doing the DateChange event, but having issues. I am looking or next/previous callback, so that I get the appointments from the server and display it.
    Please see the link to see which next/prev button I am referring
    NextPrevious Button

    Event for Next/previous button #104395

    Hristo
    Participant

    Hello rajesh gupta,

    With the dateChange event you could get the desired information at the moment when the date is changed.

    $('#scheduler').on('dateChange', function (event)
                {
                    var args = event.args;
                    var date = args.date;
                    var from = args.from;
                    var to = args.to;
                    console.log('from:', from.day() + '/' + from.month() + '/' + from.year());
                });

    Could you clarify it if this does not help you?

    Best Regards,
    Hristo Hristov

    jQWidgets team
    https://www.jqwidgets.com

    Event for Next/previous button #104399

    rajesh gupta
    Participant

    Hi Hristo,

    It helped me
    Thanks for that.

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

You must be logged in to reply to this topic.