Month view
People down the side, the month across the top, multi-day assignments as bars you can drag between rows, stretch, or draw.
Open demoDemos
Resources down, time across. Every demo below is the real component, with its code and data beside it.
People down the side, the month across the top, multi-day assignments as bars you can drag between rows, stretch, or draw.
Open demoThe same week of sessions two ways. Use the switcher to compare a people-first timeline with a time-first grid.
Open demoprint() prints every row and every day of the month, at full height.
A week of rotating shifts at hour resolution, colour-coded by shift. Night shifts run straight through midnight.
Open demoTechnicians and their repair orders, coloured by priority, with the customer inside each bar.
Open demoLunch and dinner services for the floor team, coloured by role; the restaurant is closed on Mondays.
Open demoMeals as rows and days as columns. A click on an empty day adds a dish for the whole day.
Open demoToday's delivery routes per vehicle, at hour resolution, with plate and capacity in the resource column.
Open demoEach job carries its checklist; ticking a step updates the job in your state. The checkboxes stop the drag so they stay checkboxes.
Open demoA progress bar in every bar, driven by a field on the event. Clicking logs progress through onEventClick.
Pick people to compare; only they get rows.
Open demoFilter the rows by name or role; the events follow their people.
Open demoAdd and remove rows at runtime — resources is just an array in your state.
Resource-scoped ranges: Hana doesn't work Mondays and Farah is on holiday (blocked), two pairs are on call (shaded). Nothing can be assigned into a block.
Open demoToday's lessons by room. Lunch and after-hours are blocked, and a room holds one class at a time.
Open demoEach person is a group with a shifts row and a tasks row; with groupSummary the person's row shows both at a glance.
A school month at a glance: weekdays only (startDay/endDay), each day column covering just the school hours (startTime/endTime), with a row of week numbers.
A custom range of 36 hours from 06:00 today, so the night shift is shown whole. Paging moves by 36 hours.
Open demoA distributed team, each row shaded with that person's 09:00–17:00 in their own zone and shown in yours. A meeting that sits inside every shaded band suits everyone.
Open demoUnassigned jobs wait in a list: drag one onto a technician to assign it, or drag an assigned job back onto the list — an ExternalDropZone — to unassign it.
Two terminals' gates, one date: a shared controlled refDate keeps them on the same day, and flights move between them with externalDrag + externalDrop.
The length select switches the span; day uses hour columns, year uses month columns.
Open demorefDate controls the visible month from outside; onSelectedDateChange keeps your state in step with the header.
Search narrows the bars; a result click navigates the timeline to it.
Open demoPer-event editable and resourceEditable, derived from who's signed in: viewers read, planners reschedule their team, admins change anything.
Loading before and unloading after each route, as hatched buffers that other routes on the same vehicle can't use.
Open demomaxEventStack keeps rows short: stacked events past the limit collapse into a "+N more" chip per day.
rowHeight: "equal" makes every row as tall as the busiest one, for an even grid.
resolutionHorizontal picks the column unit — hour, day, week, month, quarter or year — independently of the span. The header shows the unit above it, and weekNumbers adds a tier of week numbers.
zoomLevels lists the steps, from weeks down to 15 minutes; the header's zoom control (or zoomIn, zoomOut and setZoom on the instance) moves between them.
type: "custom" shows any window: hours for three days, days for ten, weeks for six. The arrows page by the range's length.
Work orders over a working week: startDay/endDay drop the weekend and startTime/endTime drop the night, so every column is working time.
timeCellStep sets the minutes per column at hour resolution: 15, 30, 60, 120…
With eventOrder, urgent jobs take the top lane of each technician's row, whatever time they start.
links draws arrows between events — finish-to-start by default, or start-start, finish-finish, start-finish — routed around bars when a task starts before its predecessor ends. They follow a task while you drag it; onLinkClick reports clicks.
renderTimelineEvent draws the whole bar: an outlined pill with the kind and client.
renderResource and renderResourceHeader fill the left column: avatar, role and days booked this month.
Lane height, day width and fitting to the width, live through styleConfig.
A hover card with the client, the dates and the length in days.
Open demorenderCell gets the date and the row's resource; here the first row counts how many people are free each day.
renderDayFooter adds a cell under every day — here how many people are booked, in red from five — and renderResourceFooter the corner total.
Moves between people can be switched off with dragBetweenResources; the log shows each result.
Some assignments stay with their person (resourceEditable: false), some keep their dates (dragInTime: false) and can only be reassigned, some keep their length (resize: false).
With eventOverlap={false} nobody can be double-booked: a bar dropped over another turns red and snaps back.
Row order is the order of resources: sort it by name, role, or hours booked.
renderSidebar adds a right-hand column per row — days booked and revenue — with a total in the footer corner.
Resources with children become collapsible groups; eventCreation: false keeps the department rows free of bookings.
With groupSummary, a department row shows its people's work faded, so a collapsed group still shows how busy it is.
One booking for three people shows in each of their rows; moving one copy to someone else swaps just that person.
Open demoresourceReorder adds a grip to each row: drag it to move the resource among its siblings. onResourceOrderChange hands back the whole tree in its new order.
Up to a thousand rows and twelve thousand events. Rows are virtualized, so only the ones in view are drawn.
Open demoEach month's assignments load when the month comes into view, from the range onPageChange reports.
Three months of hour columns — about 2,200 — across 200 rows. Columns are virtualized like rows: only those in view are drawn.
Open demoTeam rituals as recurring events on a working-hours timeline. Move one occurrence and choose what it applies to.
Open demoTwo thousand crews, but events are fetched only for the rows in view: onVirtualLoading reports the rendered rows and dates as you scroll, and the demo asks a (fake) API for just those.
The resource list grows as you scroll: when onVirtualLoading reports a row near the end, the next 50 crews are appended — up to a thousand.
Click or drag on a row to create for that person, open a bar to edit or delete it.
Open demo{ end: new Date() } in invalid hatches and blocks every day before today.
Select sessions across rows, then hand them all to one person.
Open demoonCellHoverIn turns the hovered day into a colour range across every row.
Weekends, two sprints and a release day as labelled colour ranges behind the work.
Open demobackground and cssClass on a resource style its whole row — here by role, with the lead's row marked.
dir="rtl" runs time from right to left: resources on the right, the axis mirrored, drags and resizes following the pointer.
Day and month labels, the editor and every string follow the locale.
Open demo