Replies: 1 comment
|
Yes. A simple example would be: import { Calendar } from '@fullcalendar/core'
import resourceTimelinePlugin from '@fullcalendar/resource-timeline'
const calendar = new Calendar(calendarEl, {
plugins: [resourceTimelinePlugin],
initialView: 'resourceTimelineMonth',
resources: [
{ id: 'a', title: 'Room A' },
{ id: 'b', title: 'Room B' }
],
events: [
{ id: '1', resourceId: 'a', title: 'Event 1', start: '2025-07-02', end: '2025-07-04' },
{ id: '2', resourceId: 'b', title: 'Event 2', start: '2025-07-05', end: '2025-07-06' }
]
})
calendar.render()If they specifically want a named custom view, use: views: {
resourceTimelineMonthCustom: {
type: 'resourceTimeline',
duration: { months: 1 }
}
}and then set |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Can someone kindly post a working example with this view resourceTimelineMonth?

All reactions