Docs menu

Properties

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

All properties

PropertyTypeKindWhat it does
TitleSingleLine.TextInput
DirectionEnumInput Default: lr.
TargetsEnumInput Default: stored.
Levels open at first (default 2)Whole.NoneInput
Open asEnumInput Default: tree.
Allow what-ifTwoOptionsInputLets users change inputs and see the effect. Saving needs the Scenario value column and write access. Default: true.
Start in what-ifTwoOptionsInputOpens with what-if on, so users can change inputs straight away. Default: false.
Period to show (YYYY-MM-DD, empty = latest)SingleLine.TextInput
Periods in sparklines (default 12)Whole.NoneInput
Show sparklines (needs the Period column)TwoOptionsInput Default: true.
Currency (ISO code, e.g. AUD)SingleLine.TextInput
Number locale (empty = the user language)SingleLine.TextInput
ThemeEnumInput Default: light.
Accent colour (hex)SingleLine.TextInput
Text size (%)Whole.NoneInputMakes every name, value and label bigger or smaller together: 75 to 200, default 100. Cards grow with the text. Default: 100.
Text sizes by role (JSON, optional)SingleLine.TextInputAdvanced: sizes in px at 100%, e.g. {"body": 14, "hero": 30}. Roles: caption, body, value, callout, header, title, hero (the big number on each card). Text size still applies.
Licence keySingleLine.TextInputYour Ninth Forge Driver Tree licence key. Without one the control works fully and shows a small watermark.
Save modeEnumInputAuto saves scenarios directly in model-driven apps and raises OnScenarioSave in canvas apps. Default: auto.
Selected node (output)SingleLine.TextOutput
Scenario (output, JSON)MultipleOutput
Nodes (required)DatasetBound
Parent (empty = top of a tree)Lookup.SimpleColumn
Name (canvas, text)SingleLine.TextColumnCanvas apps: the name column. Model-driven apps use the primary name and can leave it empty.
Record ID (canvas, text)SingleLine.TextColumnCanvas apps: a text column holding the ID of each row, when Items is not the table itself (AddColumns or a collection). Outputs then carry it.
Parent ID (canvas, text)SingleLine.TextColumnCanvas apps cannot map a lookup: a text column holding the ID of the parent builds the tree.
Operator (sum, product, difference, ratio, avg, wavg, formula, input)SingleLine.Text / OptionSet / MultipleColumn
Formula (over child keys)SingleLine.Text / OptionSet / MultipleColumn
Key (short id used in formulas)SingleLine.TextColumn
ActualWhole.None / Decimal / FP / CurrencyColumn
TargetWhole.None / Decimal / FP / CurrencyColumn
Weight (for a weighted average parent)Whole.None / Decimal / FP / CurrencyColumn
Unit ($, %, t, h and so on)SingleLine.TextColumn
Format (number, currency, percent, compact)SingleLine.Text / OptionSet / MultipleColumn
Lower is betterTwoOptionsColumn
Sort orderWhole.None / Decimal / FP / CurrencyColumn
OwnerLookup.Simple / Lookup.Owner / SingleLine.TextColumn
Scenario value (what-if saves here)Whole.None / Decimal / FP / CurrencyColumn
Period (Date only; one row per node per period)DateAndTime.DateOnlyColumn
OnScenarioChangeEventEventA what-if value changed (edit, undo, redo or reset). Read Self.scenarioJson.
OnScenarioSaveEventEventThe user pressed Save scenario (save mode: event). Patch Self.scenarioJson into your table.

Last updated