Keep room capacity, booking totals, or other resource details visible as users scroll the Scheduler timeline horizontally. The fixed panel sits on the right in left-to-right layouts and on the left in right-to-left layouts.

Available in DayPilot Pro for JavaScript 2026.4.7174 and later.

scheduler fixed row header
The timeline is scrolled to August 7. The Bookings and Booked days columns remain visible at the right.

Try the Right Row Header Columns demo to scroll through the dates, sort by booked days, or move a booking between rooms.

Configure fixed columns

Set side: "end" on any rowHeaderColumns definition that should stay visible. Columns without side use the leading row header. Each panel keeps the order of its column definitions.

The examples show room names beside the start of the timeline and room capacities in the fixed panel. In tabular mode, the display field selects a value from the resource. See Row Header Columns for other ways to supply column values.

For project setup, see the Angular, React, or Vue Scheduler guide.

JavaScript

Load the DayPilot Pro script and add a container with id="dp". Use a container narrower than the timeline to see the fixed panel while scrolling.

const dp = new DayPilot.Scheduler("dp", {
  startDate: "2028-08-01",
  days: 31,
  scale: "Day",
  cellWidth: 60,
  rowHeaderColumns: [
    {text: "Room", display: "name", width: 160},
    {text: "Capacity", display: "capacity", width: 100, side: "end"}
  ],
  resources: [
    {id: "cedar", name: "Cedar room", capacity: 8},
    {id: "maple", name: "Maple room", capacity: 12}
  ]
});
dp.init();

Angular

import {Component} from "@angular/core";
import {DayPilot, DayPilotModule} from "daypilot-pro-angular";

@Component({
  selector: "app-room-scheduler",
  standalone: true,
  imports: [DayPilotModule],
  template: '<daypilot-scheduler [config]="config"></daypilot-scheduler>'
})
export class RoomSchedulerComponent {
  config: DayPilot.SchedulerConfig = {
    startDate: "2028-08-01",
    days: 31,
    scale: "Day",
    cellWidth: 60,
    rowHeaderColumns: [
      {text: "Room", display: "name", width: 160},
      {text: "Capacity", display: "capacity", width: 100, side: "end"}
    ],
    resources: [
      {id: "cedar", name: "Cedar room", capacity: 8},
      {id: "maple", name: "Maple room", capacity: 12}
    ]
  };
}

React

import {DayPilotScheduler} from "daypilot-pro-react";

export default function RoomScheduler() {
  return (
    <DayPilotScheduler
      startDate="2028-08-01"
      days={31}
      scale="Day"
      cellWidth={60}
      rowHeaderColumns={[
        {text: "Room", display: "name", width: 160},
        {text: "Capacity", display: "capacity", width: 100, side: "end"}
      ]}
      resources={[
        {id: "cedar", name: "Cedar room", capacity: 8},
        {id: "maple", name: "Maple room", capacity: 12}
      ]}
    />
  );
}

Vue

<script setup lang="ts">
import {DayPilotScheduler} from "daypilot-pro-vue";
import type {DayPilot} from "daypilot-pro-vue";

const rowHeaderColumns: DayPilot.RowHeaderColumnData[] = [
  {text: "Room", display: "name", width: 160},
  {text: "Capacity", display: "capacity", width: 100, side: "end"}
];
const resources = [
  {id: "cedar", name: "Cedar room", capacity: 8},
  {id: "maple", name: "Maple room", capacity: 12}
];
</script>

<template>
  <DayPilotScheduler
    startDate="2028-08-01"
    :days="31"
    scale="Day"
    :cellWidth="60"
    :rowHeaderColumns="rowHeaderColumns"
    :resources="resources"
  />
</template>

Refresh a booking total

A summary row can count bookings in other rows. Set rowHeaderAutoUpdated: true on the summary resources entry. Event changes rerun onBeforeRowHeaderRender for the rendered summary row. The callback below totals the bookings for Cedar and Maple and writes the result in the end column.

const resources = [
  {id: "total", name: "Total bookings", frozen: "top", rowHeaderAutoUpdated: true},
  {id: "cedar", name: "Cedar room"},
  {id: "maple", name: "Maple room"}
];
const rowHeaderColumns = [
  {text: "Resource", display: "name", width: 160},
  {text: "Bookings", width: 100, side: "end"}
];

const onBeforeRowHeaderRender = ({row}) => {
  if (row.id === "total") {
    const count = ["cedar", "maple"].reduce((total, id) => {
      return total + (row.calendar.rows.find(id)?.events.all().length ?? 0);
    }, 0);
    row.columns[1].text = String(count);
  }
};

const dp = new DayPilot.Scheduler("dp", {
  startDate: "2028-08-01",
  days: 31,
  scale: "Day",
  resources,
  rowHeaderColumns,
  onBeforeRowHeaderRender,
  events: [
    {id: 1, resource: "cedar", text: "Workshop", start: "2028-08-02", end: "2028-08-04"}
  ]
});
dp.init();

The option defaults to false. Use it for summaries that depend on events in other rows. Standard event updates already redraw affected row headers as needed. Offscreen headers use the current data when they appear.

To use this summary in a framework, supply the example’s resources, columns, and events. Set onBeforeRowHeaderRender in the typed Angular configuration, pass it as a React prop, or bind it with :onBeforeRowHeaderRender in Vue.

Resizing, sorting, and export

Column resizing and row sorting work in both panels. The end panel follows vertical scrolling and stays aligned with frozen rows and sticky parents. End columns also appear at the end of the timeline in image exports and Excel exports.

Availability

Availability of this feature in DayPilot editions:

ProductLitePro
DayPilot for JavaScript
DayPilot for ASP.NET WebForms
DayPilot for ASP.NET MVC
DayPilot for Java