Tom Österlund
Tom Österlund
  • Видео 2
  • Просмотров 3 071
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
Просмотров: 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...

Комментарии

  • @sementerehov
    @sementerehov 3 дня назад

    Is there a way to put a link into Calendar Event so that user can click and be directed to meeting quickly

    • @TomÖsterlund
      @TomÖsterlund 2 дня назад

      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

  • @michalhazan839
    @michalhazan839 10 дней назад

    Great video short and easy ti understand. can you do another one with the option of user to add events (save in local storage)?

  • @goosfeel
    @goosfeel 11 дней назад

    Really nice Project, I hope keep seeing new Videos! Subscribed!

  • @shironeko1864
    @shironeko1864 24 дня назад

    How to in integration state by data call API bro?

    • @TomÖsterlund
      @TomÖsterlund 24 дня назад

      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

  • @ZainInam-h3q
    @ZainInam-h3q Месяц назад

    Can we send the mail to candidates like Google Calendar?

    • @TomÖsterlund
      @TomÖsterlund Месяц назад

      This is a frontend component, so it does not deal with mailing or any other backend tasks

    • @ZainInam-h3q
      @ZainInam-h3q Месяц назад

      @@TomÖsterlund Got it. Thanks for the reply

  • @pathanfaizan4714
    @pathanfaizan4714 Месяц назад

    On event click i want to open my custom model with my custom details what can i do? ?

    • @TomÖsterlund
      @TomÖsterlund Месяц назад

      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

  • @ironvocal
    @ironvocal Месяц назад

    this is what exactly i was looking for, also the todo follow up, thanks mate!

  • @feedback27
    @feedback27 Месяц назад

    worked! and its very informative

  • @cedricantwi2129
    @cedricantwi2129 Месяц назад

    Could you do one for adding events 🤔 I can’t seem to get the callbacks to work.. otherwise this is clean 💪

    • @TomÖsterlund
      @TomÖsterlund Месяц назад

      Which callbacks do you mean? Did you try adding events directly in the configuration object?

  • @AaishaDev
    @AaishaDev Месяц назад

    Can i have agenda view in this?

    • @TomÖsterlund
      @TomÖsterlund Месяц назад

      Yes! there is an agenda view. The function you need to import is called `createViewMonthAgenda`

    • @AaishaDev
      @AaishaDev Месяц назад

      @@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

    • @AaishaDev
      @AaishaDev Месяц назад

      ​@@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

    • @TomÖsterlund
      @TomÖsterlund Месяц назад

      @@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

    • @AaishaDev
      @AaishaDev Месяц назад

      @@TomÖsterlund Thankyou, it worked

  • @PhuongNguyen-zf8wt
    @PhuongNguyen-zf8wt Месяц назад

    and how to style event modal bro ?

    • @TomÖsterlund
      @TomÖsterlund Месяц назад

      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?

  • @PhuongNguyen-zf8wt
    @PhuongNguyen-zf8wt Месяц назад

    what about when i get data from backend and set to events is it work ?

    • @TomÖsterlund
      @TomÖsterlund Месяц назад

      Sure thing! You can achieve this with the events service plugin. It's documented under "plugins" in the docs

    • @PhuongNguyen-zf8wt
      @PhuongNguyen-zf8wt Месяц назад

      @@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

    • @TomÖsterlund
      @TomÖsterlund Месяц назад

      @@PhuongNguyen-zf8wt any specific type of API you have in mind?

  • @ngChinh04
    @ngChinh04 Месяц назад

    how can i change the detail of event when click on it? Tks

    • @TomÖsterlund
      @TomÖsterlund Месяц назад

      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.

  • @yashkelhe376
    @yashkelhe376 Месяц назад

    Bro use dark theme mode 🥲

    • @TomÖsterlund
      @TomÖsterlund Месяц назад

      never 😃 I switched 3 years ago and just love working in light mode

  • @MaxRohowsky
    @MaxRohowsky Месяц назад

    Let's go! Looking forward to a consistent posting schedule :D

  • @FlorinPop
    @FlorinPop Месяц назад

    Great job Tom!! Subscribed!

    • @TomÖsterlund
      @TomÖsterlund Месяц назад

      Thank you so much! Means a lot coming from someone with your XP 🎉

  • @mahmoodtareq3520
    @mahmoodtareq3520 Месяц назад

    Thank you so much, Tom. Very well Explained.

  • @mahmoodtareq3520
    @mahmoodtareq3520 Месяц назад

    I love your explaination, Tom. Keep these videos coming.

    • @TomÖsterlund
      @TomÖsterlund Месяц назад

      Thanks a lot! Glad you liked it 😊

  • @axellondas6297
    @axellondas6297 Месяц назад

    how to change event color ?

    • @TomÖsterlund
      @TomÖsterlund Месяц назад

      For this you can use the "calendars" feature: schedule-x.dev/docs/calendar/calendars

  • @axellondas6297
    @axellondas6297 Месяц назад

    how to catch the case when i click on event ?

    • @axellondas6297
      @axellondas6297 Месяц назад

      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> ); }; ```

    • @TomÖsterlund
      @TomÖsterlund Месяц назад

      You can add a `callbacks` section to the config object, and then add a callback `onEventClick`: schedule-x.dev/docs/calendar/configuration

  • @adam_frl
    @adam_frl 2 месяца назад

    thank you for the insightful tutorial! it really helped me get up and running with the calendar!👍👍👍

    • @TomÖsterlund
      @TomÖsterlund 2 месяца назад

      Glad to hear it was helpful! Hope the calendar can be of good use to you 🙂