Functional Component for Calendar

I want to load/save data from Calendar using Functional component to database. Any Axios/Fetch API example will be very helpful as I am using React.js


1 Reply 1 reply marked as answer

BS Buvana Sathasivam Syncfusion Team September 23, 2022 04:01 AM UTC

Hi Salokya,


Greetings from Syncfusion support.


You can able to set the date into Calendar component using value property. You can also able to get the value using change event. Please find the below sample for your reference.


Sample: https://stackblitz.com/edit/react-ts-yqacst?file=index.tsx


API link: https://ej2.syncfusion.com/react/documentation/api/calendar/#value

https://ej2.syncfusion.com/react/documentation/api/calendar/#change


You can refer the below documentation section load/save the data using DataManager adaptors.

Documentation: https://ej2.syncfusion.com/react/documentation/data/adaptors/

If you still have any problems, can you please share more information about your requirements?

Regards,

Buvana S


Marked as answer
Loader.
Up arrow icon