jQuery UI Widgets Forums Scheduler Legend bar not binding when date change

This topic contains 4 replies, has 2 voices, and was last updated by  rahulahire 7 years, 2 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • Legend bar not binding when date change #98207

    rahulahire
    Participant

    Hi,
    I am facing an issue with legends display.I am using ajax calls to get appointments data from DB. The issue is if there is a date that has no booking against it the legend bar does not bind which is right but when i change the date and there is some appointment against that date the legend bar goes away and only white space appears. I have already set the showLegend property to true. The white space still appears.

    Legend bar not binding when date change #98222

    Hristo
    Participant

    Hello rahulahire,

    Could you clarify your issue?
    Also, I would like to ask you is there any error messages in the console?

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

    Legend bar not binding when date change #98239

    rahulahire
    Participant

    Hello Hristo,
    The issue is legend bar does not bind when there are no appointments for some date which is right but if there is a future date that has appointment then the appointment appears but the legend bar does not binds. This same case also occurs when view is changed. There are no errors in console. I managed to find out that div tag legendbarbottom is adding a inline display:none and that causes the bar to hide.

    Legend bar not binding when date change #98268

    Hristo
    Participant

    Hello rahulahire,

    If you are mentioned about the new ‘Room’ does not appear in the legend when you try to add the new appointment with the ‘Room’ that does not exist to this time. I would like to suggest you look at this solution:
    Also, I would like to say that I will add this case for discussion.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

    Legend bar not binding when date change #98306

    rahulahire
    Participant

    Hello Hristo,
    Thanks for your efforts on coming out with a solution. Though my problem was that the entire legend bar is disappearing, but the solution you pitched gave me the required out come on adding $(‘#scheduler’).jqxScheduler(‘render’); to my existing code. I would also appreciate you effort on considering the case and rectifying this issue in next version.

    Regards,
    Rahul Ahire

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

You must be logged in to reply to this topic.