Topic: calendar events
Bradley DiLeonardo priority asked 2 years ago
I'm trying to add events and allowing them to save into a sqlite database. I've looked all over the api and can't find how to save it and load it. Could yall help?
Thanks.
Grzegorz Bujański staff answered 2 years ago
Do you already have a database and configured endpoints on your backend? We don't have a tutorial on how to do it from scratch. You must have a backend prepared.
To load events, you must query the API and download the data, then use the addEvents
method to add the events to the calendar.
To save the added event in the database, you can listen to the event addEvent.mdb.calendar
. This event returns all data you need to save them on DB. You just need to send the request with this data to your backend.
Bradley DiLeonardo priority commented 2 years ago
Awesome, Thanks!
Also, Am I able to add extra columns to the modal for the calendar? I saw the Id method, but it did not show up in the modal. That is good for the id, but I want to add email and/or phone number to it.
I also want to add a button to it so It can link towards an additional details page. Possible?
Grzegorz Bujański staff commented 2 years ago
At the moment, we do not have the option to customize the modal. We plan to add such an option in the future. At the moment, in order to customize the modal, you need to modify the source code of the plug-in on your own.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Priority
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 5.0.0
- Device: all
- Browser: all
- OS: all
- Provided sample code: No
- Provided link: No