Common View Features

Configure the time axis, all-day row and current-time indicator across scheduling views.

Use per-view configuration to override global settings for an individual enabled view.

Current-time indicator

Available in: Day, Multi-Day, Week and Work Week. Not displayed in Agenda.

The following example demonstrates the current-time marker in a full-day grid. Select Today to inspect the current date, then change the timezone or toggle the marker.

UTC

2026-12-02 – 2026-12-02

Wed, Dec 2

00:0001:0002:0003:0004:0005:0006:0007:0008:0009:0010:0011:0012:0013:0014:0015:0016:0017:0018:0019:0020:0021:0022:0023:00

      <ngb-scheduler [(date)]="date" view="day" timeZone="UTC"
  [startHour]="0" [endHour]="24" [showCurrentTime]="true" />
    

The marker updates every 30 seconds after browser rendering. It does not reload events, move focus or repeatedly announce updates. It is hidden in Agenda, on dates outside the visible range, and outside the visible hours.

Ongoing events

Available in: Day, Multi-Day, Week, Work Week, Month, Multi-Week, Agenda and all Timeline scales.

The following example demonstrates highlightOngoingEvents without the current-time line. A browser-created sample appointment spans the current instant. In progress is shown until the exclusive end, with updates every 30 seconds. All-day events use civil dates in the display timezone.

UTC

Shaded areas are outside business hours: 09:15–17:45, weekdays 1, 2, 3, 4, 5 (0 = Sunday). Shading does not prevent selection or booking.

2026-12-02 – 2026-12-02

Wed, Dec 2

All day
00:0001:0002:0003:0004:0005:0006:0007:0008:0009:0010:0011:0012:0013:0014:0015:0016:0017:0018:0019:0020:0021:0022:0023:00

      <ngb-scheduler [date]="date" [events]="events" view="day"
  [highlightOngoingEvents]="true" [showCurrentTime]="false"
  [showBusinessHours]="true" businessStartTime="09:15"
  businessEndTime="17:45" [businessDays]="[1,2,3,4,5]" />
    

Business-hour shading

Available in: Day, Multi-Day, Week and Work Week. Agenda has no time-axis shading.

showBusinessHours shades time outside businessStartTime–businessEndTime. businessDays defaults to Monday–Friday; other days are fully shaded. Empty businessDays shades every day.

Shading does not hide events, alter visible hours or block selection. Your application validates availability. Both features are opt-in, accept per-view overrides and use library theme tokens. Business intervals must stay within one civil day; overnight schedules remain unsupported.

Visible hours and intervals

Available in: Day, Multi-Day, Week and Work Week. Agenda has no time axis.

startHour and endHour define the visible window. slotMinutes controls time choices (15, 30 or 60 minutes). The footer switches between that window and a full day without fetching data again.

All-day and overlapping events

Available in: Day, Multi-Day, Week and Work Week. Agenda lists events without overlap columns or a separate all-day strip.

showAllDay controls the separate all-day row in time-grid views. Agenda always includes all-day events. Timed appointments use proportional height and separate overlap columns. Try the Day and Week example for these interactions.

First day of week

Available in: Week, Work Week, Month, Multi-Week, Timeline Week and Year alignment. Day, Multi-Day and Agenda start on the selected date.

Set weekStartsOn from 0 (Sunday) to 6 (Saturday). The default is Monday; changing locale does not change this setting.

Hidden weekdays

Available in: Multi-Day, Week, Work Week, Month, Multi-Week, Agenda, Timeline Week and Timeline Month. Day, Timeline Day and Year always show their calendar dates.

hiddenDays excludes weekdays (0 is Sunday). An empty per-view override restores them. Work Week also respects workDays. Filtering does not shorten the datasource range; a fully hidden visible range shows an empty-state message.

Initial scroll time

Available in: Day, Multi-Day, Week and Work Week.

scrollTime accepts HH:mm (00:00–23:59). It scrolls after rendering, on date/view changes, or when the target changes. The viewport clamps to its bounds. Data-only updates retain manual scroll; no focus is moved. Try the configured views example.

Time-axis density

Available in: Day, Multi-Day, Week and Work Week.

pixelsPerMinute changes visual density while event height still follows duration. Configure minute boundaries and subdivisions in the Day and Week example.

Current limitations

Dense and short events use a paged overflow list. Time-grid slots and events support roving focus and cross-day navigation; Agenda and all-day actions retain native Tab navigation. The marker uses a uniform civil-time axis; it does not distinguish repeated positions during a daylight-saving fold.