Skip to main content

Interface: ResolvedEntriesRowSource

Defined in: layout/rows/row-source.ts:91

Each resolved source extends the source a consumer authored, and narrows the keys it fills from optional to required (#248 S4-2). A consumer who omits filterPolicy/tree still reads a value back off gantt.rowSource.

Extends​

Properties​

childrenAsSegments?​

optional childrenAsSegments?: true | EntryRule

Defined in: layout/rows/row-source.ts:47

Matches a parent Entry: its children draw as bars on its own row instead of rows of their own (#421). true matches every parent with at least one child; a FieldMatch or EntryPredicate matches only the parents the rule answers yes for — the same when syntax a variant's when takes (EntryRule, layout/entry-rule.ts). A parent this rule does not match is untouched: it keeps its own row, gives each child a row, and rolls up exactly as it does today (README's hard rule 6). Orthogonal to tree — tree nests a non-segmented parent's children; this decides whether a segmented parent's children become rows at all (README's hard rule 5).

Inherited from​

EntriesRowSource.childrenAsSegments


filter?​

optional filter?: RowFilter

Defined in: layout/rows/row-source.ts:31

Inherited from​

EntriesRowSource.filter


filterPolicy​

filterPolicy: FilterPolicy

Defined in: layout/rows/row-source.ts:92

Overrides​

EntriesRowSource.filterPolicy


sort?​

optional sort?: RowSort

Defined in: layout/rows/row-source.ts:32

Inherited from​

EntriesRowSource.sort


source​

source: "entries"

Defined in: layout/rows/row-source.ts:37

Inherited from​

EntriesRowSource.source


tree​

tree: boolean

Defined in: layout/rows/row-source.ts:93

Takes an explicit undefined for the reason RowSourceCommon states (#254).

Overrides​

EntriesRowSource.tree