An element is part of a Mendix model and all elements together form the logic of the model. Elements may contain other elements. An element always has a container element, which is its parent. The root of an element tree is always a unit.

interface ControlBarBase {
    $CreationOptions?: unknown;
    $ID: string;
    $Type: string;
    items: ControlBarItem[];
    addComparisonSearchField(options: ComparisonSearchFieldCreationOptions): Promise<ComparisonSearchField>;
    addDataGridAddButton(options: DataGridAddButtonCreationOptions): Promise<DataGridAddButton>;
    addDataGridExportToCSVButton(options: DataGridExportToCSVButtonCreationOptions): Promise<DataGridExportToCSVButton>;
    addDataGridExportToExcelButton(options: DataGridExportToExcelButtonCreationOptions): Promise<DataGridExportToExcelButton>;
    addDataGridRemoveButton(options: DataGridRemoveButtonCreationOptions): Promise<DataGridRemoveButton>;
    addDropDownSearchField(options: DropDownSearchFieldCreationOptions): Promise<DropDownSearchField>;
    addGridActionButton(options: GridActionButtonCreationOptions): Promise<GridActionButton>;
    addGridDeselectAllButton(options: GridDeselectAllButtonCreationOptions): Promise<GridDeselectAllButton>;
    addGridNewButton(options: GridNewButtonCreationOptions): Promise<GridNewButton>;
    addGridSearchButton(options: GridSearchButtonCreationOptions): Promise<GridSearchButton>;
    addGridSelectAllButton(options: GridSelectAllButtonCreationOptions): Promise<GridSelectAllButton>;
    addRangeSearchField(options: RangeSearchFieldCreationOptions): Promise<RangeSearchField>;
    addSelectButton(options: SelectButtonCreationOptions): Promise<SelectButton>;
    getComparisonSearchField(name: string): ComparisonSearchField;
    getDataGridAddButton(name: string): DataGridAddButton;
    getDataGridExportToCSVButton(name: string): DataGridExportToCSVButton;
    getDataGridExportToExcelButton(name: string): DataGridExportToExcelButton;
    getDataGridRemoveButton(name: string): DataGridRemoveButton;
    getDropDownSearchField(name: string): DropDownSearchField;
    getGridActionButton(name: string): GridActionButton;
    getGridDeselectAllButton(name: string): GridDeselectAllButton;
    getGridNewButton(name: string): GridNewButton;
    getGridSearchButton(name: string): GridSearchButton;
    getGridSelectAllButton(name: string): GridSelectAllButton;
    getRangeSearchField(name: string): RangeSearchField;
    getSelectButton(name: string): SelectButton;
}

Hierarchy (view full)

Properties

$CreationOptions?: unknown

Options to pass during the element creation

$ID: string

The unique id of the element.

$Type: string

The type of the element.

Methods