Hi,
I have want to switch between appointments for different users, which I can select in a dropdown above the SinglePlanningCalendar.
The appointments are in a json Model like
{
"user": "X",
"appointments": [
"appointmentX1",
"appointmentX2",
"appointmentX3"
],
"user": "Y",
"appointments": [
"appointmentY1",
"appointmentY2"
]
}
I don't want to copy the appointments to another path in the model, so I'd need to give the SinglePlanningCalendar a dynamic path, like "/X/appointments" or "/Y/appointments".
Is there a possibility to change the path of the appointments during runtime?
Thanks
Marcus