- Видео 2
- Просмотров 3 071
Tom Österlund
Добавлен 25 авг 2024
Building a calendar and a SaaS
How to Build a Todo Calendar Using Custom Components in Schedule-X
In this tutorial, I'll walk you through the process of customizing the Event Calendar Schedule-X with your own custom components. Whether you're looking to enhance your calendar's functionality or add a personal touch to the user interface, this video covers everything you need to know!
Links:
Schedule-X React docs: schedule-x.dev/docs/frameworks/react#custom-components
Set up Schedule-X in React: ruclips.net/video/6vq40U4sZ0U/видео.html
Timestamps:
0:00 - Introduction 0:15 - Edit event data 1:01 - Creating a custom component 3:51 - Using the custom component
#schedulex #react #eventcalendar #webdevelopment #javascript
Links:
Schedule-X React docs: schedule-x.dev/docs/frameworks/react#custom-components
Set up Schedule-X in React: ruclips.net/video/6vq40U4sZ0U/видео.html
Timestamps:
0:00 - Introduction 0:15 - Edit event data 1:01 - Creating a custom component 3:51 - Using the custom component
#schedulex #react #eventcalendar #webdevelopment #javascript
Просмотров: 382
Видео
Create an Event Calendar in React Using Schedule-X | Step-by-Step Tutorial
Просмотров 2,7 тыс.2 месяца назад
In this video, I'll walk you through the process of setting up a fully functional event calendar in React using the Schedule-X library. Whether you're building a project management tool, a booking system, or any application that needs calendar functionality, Schedule-X makes it easy to implement. What You'll Learn: - How to install and configure Schedule-X in your React project - Creating event...
Is there a way to put a link into Calendar Event so that user can click and be directed to meeting quickly
You can create a custom component where you override the HTML of the event. I made another tutorial for how such custom events work here: ruclips.net/video/kz3i5btkOKM/видео.html
Great video short and easy ti understand. can you do another one with the option of user to add events (save in local storage)?
Really nice Project, I hope keep seeing new Videos! Subscribed!
thanks a lot :)
How to in integration state by data call API bro?
There is a plugin called the events service, with which you can add data after having rendered the calendar: schedule-x.dev/docs/calendar/plugins/events-service
Can we send the mail to candidates like Google Calendar?
This is a frontend component, so it does not deal with mailing or any other backend tasks
@@TomÖsterlund Got it. Thanks for the reply
On event click i want to open my custom model with my custom details what can i do? ?
In Schedule-X there is a feature called custom components, with which you can inject your own custom React components. It's documented here: schedule-x.dev/docs/frameworks/react#custom-components Using that feature you can create your own custom modal
this is what exactly i was looking for, also the todo follow up, thanks mate!
worked! and its very informative
Could you do one for adding events 🤔 I can’t seem to get the callbacks to work.. otherwise this is clean 💪
Which callbacks do you mean? Did you try adding events directly in the configuration object?
Can i have agenda view in this?
Yes! there is an agenda view. The function you need to import is called `createViewMonthAgenda`
@@TomÖsterlund I've already added this function, but in the I only see three views which is day, week and month I'm using Reactjs, I really need to implement agenda view, will you please help
@@TomÖsterlund I've already added this function, but in the UI I only see three views which is day, week and month I'm using Reactjs, I really need to implement agenda view, will you please help
@@AaishaDev I see! The month agenda view was initially thought to be the mobile version of the month view, so it is only visible by default when the calendar is not so wide. You can override this behavior by doing this: const agenda = createViewMonthAgenda() agenda.hasWideScreenCompat = true
@@TomÖsterlund Thankyou, it worked
and how to style event modal bro ?
You can either just write your custom style overrides for this, or you can even replace its content by using custom components. Custom components is a feature of the framework adapters (like for Vue, React, Angular etc.). Are you using any of those?
what about when i get data from backend and set to events is it work ?
Sure thing! You can achieve this with the events service plugin. It's documented under "plugins" in the docs
@@TomÖsterlund i wish you will make this kind of tutorial in the future (generate data schedule from an api). It will contribute your commiunity so much
@@PhuongNguyen-zf8wt any specific type of API you have in mind?
how can i change the detail of event when click on it? Tks
There is a callback option that you can add in the config called `callbacks.onEventClick`, which takes the the clicked event as it's only parameter.
Bro use dark theme mode 🥲
never 😃 I switched 3 years ago and just love working in light mode
Let's go! Looking forward to a consistent posting schedule :D
Great job Tom!! Subscribed!
Thank you so much! Means a lot coming from someone with your XP 🎉
Thank you so much, Tom. Very well Explained.
Glad you liked it!
I love your explaination, Tom. Keep these videos coming.
Thanks a lot! Glad you liked it 😊
how to change event color ?
For this you can use the "calendars" feature: schedule-x.dev/docs/calendar/calendars
how to catch the case when i click on event ?
2 and half after reading the doc i found the way you have to use callbacks this is the code ```jsx export const Calendar = () => { const onEventClick = useCallback((event) => { console.log('Event clicked:', event); // Add your custom logic here }, []); const calendar = useNextCalendarApp({ views: [createViewMonthGrid(), createViewMonthAgenda(), createViewDay(), createViewWeek()], events: [ { id: '1', title: 'Event 1', start: '2023-12-16 10:00', end: '2023-12-16 12:00', }, ], selectedDate: '2023-12-16', callbacks: { onEventClick, }, }) return ( <div className=""> <ScheduleXCalendar className="" calendarApp={calendar} /> </div> ); }; ```
You can add a `callbacks` section to the config object, and then add a callback `onEventClick`: schedule-x.dev/docs/calendar/configuration
thank you for the insightful tutorial! it really helped me get up and running with the calendar!👍👍👍
Glad to hear it was helpful! Hope the calendar can be of good use to you 🙂