Container Options
Options for managing the 3 main div elements used by AdapTable - AdaptTable, VendorGrid and Modal.
Also contains options for showing items created by the Charts, Alert and System Status Functions.
All 6 options can be passed the name of the relevant Div element and some can also take the Div Element itself.
containerOptions = {
adaptableContainer: document.querySelector('#adaptable') as HTMLElement,
vendorContainer: 'vendorGridDiv',
modalContainer: 'modelDiv',
chartContainer: 'chartDiv',
};
Container Options Properties
Property | Description | Default |
---|---|---|
adaptableContainer | Div containing AdapTable - string Id or HTMLElement | "adaptable" |
alertContainer | Div to show Alerts - string Id or HTMLElement | null |
chartContainer | Name of div where charts appear (if null, will be centre of page) | nulll |
modalContainer | Name of div where modals appear (if null, will be centre of page) | null |
systemStatusContainer | Div to show System Status messages - string Id or HTMLElement | null |
vendorContainer | Div containing underlying vendor grid- string Id or HTMLElement | "grid" |