Hi, I'm trying out Bryntum Calendar and using CRUD manager to load data from our server. However, the calendar shows loadFailedMessage on the screen but the API result is structured the same as the examples. Did I miss out on anything?
Screenshot 2020-07-17 at 2.16.38 PM.png (59.56 KiB) Viewed 3204 times
Screenshot 2020-07-17 at 2.16.30 PM.png (35.75 KiB) Viewed 3204 times
(btw the locale doesn't seem to work too? The error message seems to be a key of a locale instead of the language)
And does CRUD manager supports pagination for Calendar by passing in the params of the selected day/week/month/year?
Crud Manager doesn't support pagination at the moment. What is your usecase to have pagination in Calendar? If you need to add extra params to your request you can subscribe to beforeSend event.
We were using our own way to load data from API but we switched to use CRUD manager to get data with the thought that we only load data that are relevant to the day/week/month or year so we don't put any unnecessary load to our server to return all events data, at the very least, we would like to be able to reload the data by sending appropriate params (selected day/week/month/year) to the backend when users navigate through the calendar. Is it possible to do it either way?
Btw I've also noticed that the height is not adjusted when I switch from monthly view to yearly view - is this a bug as well?
We were using our own way to load data from API but we switched to use CRUD manager to get data with the thought that we only load data that are relevant to the day/week/month or year so we don't put any unnecessary load to our server to return all events data, at the very least, we would like to be able to reload the data by sending appropriate params (selected day/week/month/year) to the backend when users navigate through the calendar. Is it possible to do it either way?
Btw I've also noticed that the height is not adjusted when I switch from monthly view to yearly view - is this a bug as well?
Can you please show screenshots showing the issue?
May I know what are the listeners for the areas highlighted in red? I've spent some time reading the documentation but I couldn't find any listener that works.
Screenshot 2020-07-21 at 5.41.06 PM.png (45.22 KiB) Viewed 3168 times
Attached is the gif of switching from monthly view to yearly view:
Thanks for the tips. However, I don't see any event name associated with the event, how do I override the listeners to have some custom actions? And I've tried it on the basic example page, but it seems that not all events are being captured. The red areas as highlighted on the left side are still not being captured.
e.type should contain the event name.
We created a feature request to add a new event for Calendar to track all changes of visible dates. https://github.com/bryntum/support/issues/1234