Developers can configure custom Div elements that will be used by AdapTable
These are configured using the ContainerOptions section of AdapTable Options
The Container Options section of Adaptable Options contains a series of properties allowing developers to specify various Div elements that can be used in AdapTable.
string: an element ID — resolved via document.getElementById
AdaptableCSSSelector: a CSS selector — resolved via document.querySelectorAll (if several elements match, the first is used)
HTMLElement: a direct reference to a DOM element
Alternatively, provide a function that returns one of those three. Alert, System Status, Modal and Transposed View functions receive ContainerContext (which includes adaptableApi). The AdapTable and AG Grid container functions receive InitContainerContext instead — they run before AdapTable is ready, so there is no API yet.
AdapTable, by default, displays the Settings Panel and Wizards (e.g. Format Column, Bulk Update) above the Grid, as either a centred modal or a draggable window (as set by the popupType property in Settings Panel Options and Wizard Options).
If this is not required behaviour, the modalContainer property can specify an alternative location.
modalContainer
Default: undefined (rendered according to popupType)
Name of the Div which contains the Settings Panel and Wizards.
The property can be the Id (string) of the Div, a CSS Selector, or the HTMLElement itself.
Note
When modalContainer is set, it takes precedence over popupType: the Settings Panel and Wizards are rendered inline inside the provided Div (neither as a modal, nor as a draggable window)