Docs menu

Properties

Every property the Scheduler control has, generated from the manifest the control ships with, so the names always match.

Text size

Text size (%) (textSize) makes every label, value and title in the Scheduler bigger or smaller together, from 75 to 200. The default is 100. Rows, lanes and the headers grow with the text, so nothing is squeezed or cut off. Booking bars keep their size. A value outside 75 to 200 uses the nearest limit.

Text sizes by role (textSizes) is optional, for when one kind of text should differ from the rest. It takes JSON with sizes in pixels at 100 %, and Text size still multiplies them. For example, {"body": 14, "title": 18} makes names and cell text 14 px and titles 18 px at 100 %, and 21 px and 27 px at 150 %.

Role Used for Size at 100 %
caption Small details, legends and footnotes 11 px
body Names and cell text 13 px
label Time-scale labels 12 px
value Values and notes 12 px
callout Badges and annotations 12 px
header Column, lane and group headers 13 px
title Titles and section headings 16 px

Unknown roles, sizes outside 6 to 96 px and JSON that doesn’t parse are ignored, so a typo never breaks the control.

In code apps, set textScale (1 is 100 %, so 1.5 is 150 %) and textSizes (for example { body: 14 }) as props.

All properties

PropertyTypeKindWhat it does
ScenarioEnumInputSets labels, default view, snapping, conflict rules and working hours. Default: custom.
TitleSingleLine.TextInput
Default viewEnumInput Default: preset.
Overlapping bookingsEnumInput Default: preset.
Snap to (minutes, 0 = scenario default)Whole.NoneInput
ThemeEnumInput Default: light.
Accent colour (hex)SingleLine.TextInput
Text size (%)Whole.NoneInputMakes every label, value and title bigger or smaller together: 75 to 200, default 100. Rows grow with the text. Default: 100.
Text sizes by role (JSON, optional)SingleLine.TextInputAdvanced: sizes in px at 100%, e.g. {"body": 14, "title": 18}. Roles: caption, body, label, value, callout, header, title. Text size still applies.
Licence keySingleLine.TextInputYour Ninth Forge Plan licence key. Without one the control works fully and shows a small watermark.
Resource group columnSingleLine.TextInputLogical name of the column to group resources by. Empty: a column named like group, team or location.
Resource subtitle columnSingleLine.TextInput
Resource capacity (hours per day) columnSingleLine.TextInput
Resource seats columnSingleLine.TextInput
Resource work start (hour) columnSingleLine.TextInput
Resource work end (hour) columnSingleLine.TextInput
Resource colour columnSingleLine.TextInput
Resource sort columnSingleLine.TextInput
Allow editingTwoOptionsInputDrag to move, resize and assign bookings. Users still need write access to the table. Default: true.
Allow creatingTwoOptionsInputDrag across empty time to create a booking (opens the quick create form, prefilled). Default: true.
Save modeEnumInputAuto saves directly in model-driven apps and raises OnBookingChange in canvas apps. Default: auto.
Open bookings inEnumInputDouble-click or Enter on a booking opens its form here (model-driven apps). Default: sidePanel.
Selected booking (output)SingleLine.TextOutput
Last change (output, JSON)MultipleOutput
Create request (output, JSON)MultipleOutput
Range start (output)DateAndTime.DateAndTimeOutput
Range end (output)DateAndTime.DateAndTimeOutput
Bookings (required)DatasetBound
Start (required)DateAndTime.DateAndTimeColumn
End (required)DateAndTime.DateAndTimeColumn
Resource (empty = unassigned)Lookup.SimpleColumn
StatusSingleLine.Text / OptionSet / Lookup.Simple / MultipleColumn
Type (Unavailable = leave, maintenance; or a yes/no)SingleLine.Text / OptionSet / Lookup.Simple / Multiple / TwoOptionsColumn
All dayTwoOptionsColumn
SubtitleSingleLine.Text / OptionSet / Lookup.Simple / MultipleColumn
LocationSingleLine.TextColumn
AttendeesWhole.None / Decimal / FPColumn
Colour (hex)SingleLine.TextColumn
Resources (a view of the resource table) (required)DatasetBound
OnBookingChangeEventEventA booking was moved, resized or assigned (save mode: event). Read Self.lastChange.
OnCreateRequestEventEventThe user dragged across empty time to create a booking. Read Self.createRequest.
OnOpenBookingEventEventThe user opened a booking (double-click or Enter) in a canvas app. Read Self.selectedBookingId.
OnRangeChangeEventEventThe dates on screen changed. Filter Items to Self.rangeStart and Self.rangeEnd.

Last updated