[REACT] how to show the week of calendar in sidebar
Hi,
How to show the week of calendar in sidebar.
Thank you!
Hi,
How to show the week of calendar in sidebar.
Thank you!
Could you please show us how do you want it to show in the sidebar?
the example is like below, i want to show the week unit in top.
You need to add your own widget there and update it with the dateChange event
dateChange event https://www.bryntum.com/docs/calendar/api/Calendar/view/Calendar#event-dateChange
Sidebar https://www.bryntum.com/docs/calendar/api/Calendar/view/Calendar#config-sidebar
custom widget https://bryntum.com/docs/calendar/guide/Core/advanced/widgets
We also have an example of sidebar customization https://www.bryntum.com/examples/calendar/sidebar-customization/
Good Luck,
Tasnim
why the calendar of sidebar of the demo is with the week unit, i want to have it like this.
Sorry, I don't understand. Could you please explain How do you want to have it?
From your initial screenshot it looks like you have added some CSS which hides the days of week row.
Inspect that element in your debugger and see why it's not visible.
Yes, I resolved it, the other CSS hides the days of week.
Thanks you.