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, 10 months ago.
-
Author
-
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.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 HristovjQWidgets team
http://www.jqwidgets.comHello 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.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 HristovjQWidgets team
http://www.jqwidgets.comHello 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 -
AuthorPosts
You must be logged in to reply to this topic.