Readonly optionsThe complete options (defaults + tableOptions.masterDetail).
The display indices and heights of the expanded master rows that are shown – the extras of the body row layout.
Called by RenderScope when the row layout is built (after filtering, sorting, editing, a detail toggle …): one
pass over the shown rows. Removes expanded rows that no longer exist in the model (getAllRows()).
the extras, undefined without expanded rows
True if the row at a display index can be expanded (MasterDetailOptionsIf.isMaster).
display index
whether it is a master row
Shows the detail rows in view (called by RenderScope after the body rows were rendered): creates missing
contents, sets their positions, hides the ones that left the view and destroys the oldest hidden contents beyond
MasterDetailOptionsIf.maxRenderedDetails.
rowIndex, top, height of each detail row in view; top relative to the body top
Expands or collapses a master row. The table repaints and reports the change (TableScope).
display index or row object
the new state
Optional source: GeDetailEventSource = "api"what changed it (for the event)
false if nothing changed (no master row, already in that state, no master/detail)
Expands exactly these rows and collapses all others – the restore of the table state. Rows that are no master rows are skipped. No event per row.
row objects of the body model
Optional source: GeDetailEventSource = "api"what changed it
true if something changed
Master/detail of a table (TableOptionsIf.masterDetail): the expanded master rows, the detail layer and the life cycle of the detail contents. Created by TableScope (
tableScope.masterDetailService); use the TableApi (setDetailExpanded,toggleDetail…).ge-table-detail-layerin the host, over the body (full width, fixed columns included, without the scroll bars). It is never cleared by the virtual rendering and does not scroll horizontally.RenderScopereports the detail rows in view after every render pass (layoutVisible).maxRenderedDetailsor when the table is destroyed.Since
1.1.97