Our powerful JS Calendar component


Post by codevlabs »

Guys,

What is the best way to customise an agenda header? I am creating new agenda view with upcoming events only and want to hide the navigations buttons (in this view only) and change the title. Both edits need to manipulate only this mode without affecting the default Agenda view mode.

thanks.

Attachments
agenda header.png
agenda header.png (12.46 KiB) Viewed 358 times

Post by Animal »

Use this event: https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-activeItemChange

And manipulate the visibility of the documented tbar items.


Post by Animal »

If the date of the Agenda view is entirely controlled by your code, you can configure it with this: https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#property-syncViewDate


Post by codevlabs »

Thanks Animal


Post Reply