thanks for your answer! The suggestion to set the showOverflowButton to false fixed the problem that the appointments didn't show up.
I do have a problem with the answer for my first query though.
I followed the steps to enable LoadOnDemand in order to query the appointments everytime the date gets changed in the schedule. When I use the suggested $.ajax operation only the Id gets passed to the controller - in order for the query to work I also need "CurrentDate, CurrentView, CurrentAction" to be passed to the controller as shown here: https://help.syncfusion.com/js/schedule/data-binding#loading-data-on-demand
Is there a way to include these parameters in the initial query? Or how would I be able to get this working?
thank you for the explanation and the sample!
I tried to customize that so it works with my requirement.
One thing is strange though, the controller successfully returns appointments but they don't show up in the schedule anymore.
The problem seems to be this line: schObj.option("appointmentSettings.query", query); // here we are assigning the query to schedule
It just doesn't render the appointments anymore...It feels like it messes up the appointmentFields or something? :|
unfortunately I couldn't get this working :|
I did however put together an example project which shows you the problem I'm facing.
As soon as I try to filter an appointment the appointments don't show up on the schedule anymore. I also tried the ajax post you suggested but this failed, too.
So if the project works for you, just let the schedule load and you will notice everything is ok when you change the "Clients" DropDownList but as soon as you select an Employee it stops working.
I hope you can tell me what the issue is.
Addition: What I also would like to do is hide the unselected resources in the schedule so maybe you can give me a hint how to do that, too :)
Thanks in advance
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
or the page will be automatically redirected to sign-in page in 10 seconds.