map.apps Bundle APIs 4.20.2
    Preparing search index...

    Interface DataTableUi

    Displays the data tables.

    It is possible to watch for the events open-changed and destroyed on the ui.

    const ui = ...;
    ui.on("open-changed",(open)=> { ... });
    ui.on("destroyed",()=> { ... });
    interface DataTableUi {
        destroy(): void;
        hide(): void;
        on<Name extends keyof DataTableUiEvents>(
            name: Name,
            callBack: EventCallback<DataTableUiEvents[Name]>,
        ): Handle;
        open: boolean;
        show(dataTables: DataTableCollection): void;
    }

    Hierarchy

    • EventSource<DataTableUiEvents>
      • DataTableUi
    Index

    Properties

    Methods

    Properties

    open: boolean

    Provides access to the current open state true ui is shown false ui is hidden

    Methods

    • Destroys the instance.

      Returns void

    • Stops displaying the current content (if any).

      The ui should stop referencing the current content and release all model-related resources and watchers.

      Returns void

    • Registers event listener.

      Type Parameters

      • Name extends keyof DataTableUiEvents

      Parameters

      • name: Name
      • callBack: EventCallback<DataTableUiEvents[Name]>

      Returns Handle

    • Displays the content of the given tables. Existing content for previous tables are replaced.

      Parameters

      Returns void