Axinom Mosaic Libraries
    Preparing search index...

    Interface ExplorerProps<T>

    interface ExplorerProps<T extends Data> {
        actions?: PageHeaderActionProps[];
        bulkActions?: ExplorerBulkAction<T>[];
        bulkEditRegistration?: BulkEditRegistration<T>;
        className?: string;
        columnGap?: string;
        columns: Column<T>[];
        dataProvider: ExplorerDataProvider<T>;
        defaultFilterValues?: FilterValues<T>;
        defaultSortOrder?: SortData<T>;
        enableSelectAll?: boolean;
        filterOptions?: FilterType<T>[];
        generateItemLink?: (data: T) => LocationDescriptor<unknown>;
        headerRowActionSize?: string;
        headerRowHeight?: string;
        horizontalTextAlign?: "right" | "left" | "center";
        inlineMenuActions?: (data: T) => ActionData[];
        keyProperty?: keyof T;
        listRowActionSize?: string;
        listRowHeight?: string;
        loadingTriggerOffset?: number;
        minimumWidth?: string;
        modalMode?: boolean;
        onBulkActionsToggled?: (expanded: boolean) => void;
        onItemClicked?: (data: T, mode?: ListSelectMode) => void;
        openBulkActionsOnStart?: boolean;
        persistExplorerStates?: ExplorerStateOptions;
        quickEditConfig?: QuickEditConfig;
        quickEditRegistrations?: QuickEditRegistration<T>[];
        rowGap?: string;
        selectionMode?: ListSelectMode;
        setTabTitle?: boolean;
        stationKey: string;
        textWrap?: boolean;
        title?: string;
        verticalTextAlign?: "end" | "center" | "start";
    }

    Type Parameters

    Index

    Properties

    Array of actions to be rendered.

    bulkActions?: ExplorerBulkAction<T>[]

    Array of Bulk Actions to be rendered. If populated, Bulk Actions will become available.

    bulkEditRegistration?: BulkEditRegistration<T>

    Bulk Edit Registration The feature Bulk Edit and it's underlying implementation is still in beta.

    className?: string

    CSS Class name for additional styles

    columnGap?: string

    Spacing between columns

    columns: Column<T>[]

    Column definitions The order of this array determines the order of columns

    dataProvider: ExplorerDataProvider<T>

    Callback used to request new or additional data

    defaultFilterValues?: FilterValues<T>

    Default values for filters

    defaultSortOrder?: SortData<T>

    Sets the default sort order for the Explorer. (default: undefined)

    enableSelectAll?: boolean

    In multiselect mode, whether the Select All button will be displayed. When Select All button is clicked the onItemClicked button will return a filter query instead of an array of items. (default: true)

    filterOptions?: FilterType<T>[]

    The filters that should be available on the Explorer

    generateItemLink?: (data: T) => LocationDescriptor<unknown>

    When set, this function is used to generate the link that the user should be navigated to for each item.

    This property takes precedence over onItemClicked, which will not be executed in case generateItemLink is set!

    headerRowActionSize?: string

    Header checkbox size

    headerRowHeight?: string

    Header row height

    horizontalTextAlign?: "right" | "left" | "center"

    Horizontal alignment of text

    inlineMenuActions?: (data: T) => ActionData[]

    Provide inline actions which are available through '...' context menu

    keyProperty?: keyof T

    The name of the property on the data object that should be used to identify objects (default: 'id')

    listRowActionSize?: string

    List row action button and checkbox size

    listRowHeight?: string

    List row height

    loadingTriggerOffset?: number

    Defines when the loading of the next page is triggered. The number represents the number of row left, before a load is triggered. (default: 10)

    minimumWidth?: string

    Minimum width of this component

    modalMode?: boolean

    If true, the explorer will leave some margin for the modal backdrop.

    onBulkActionsToggled?: (expanded: boolean) => void

    Callback to emit when Bulk Actions is toggled The expanded state is supplied as an argument

    onItemClicked?: (data: T, mode?: ListSelectMode) => void

    Raised when an data item is clicked Row data is supplied as the first argument List mode is supplied as the second argument. List mode may change depending on the bulk actions toggled state

    openBulkActionsOnStart?: boolean

    Whether or not bulk actions are shown by default. (default: false)

    persistExplorerStates?: ExplorerStateOptions

    Options for disabling states that persist such as filters and sorting. All states persist by default

    quickEditConfig?: QuickEditConfig

    Optional Quick Edit Configuration

    quickEditRegistrations?: QuickEditRegistration<T>[]

    Quick Edit Registrations

    rowGap?: string

    Spacing between rows

    selectionMode?: ListSelectMode

    Determines which select mode the list is in. If 'None' is selected, a right chevron will be rendered for each row of data If 'Single' is selected, a check mark will be rendered for each row of data If 'Multi' is selected or Bulk Actions is open, a checkbox will be rendered for the header and each row of data

    setTabTitle?: boolean

    Update the tab title using the 'title' field. (default: true)

    stationKey: string

    Unique identifier used to store states related to explorer

    textWrap?: boolean

    If set to true, column text overflow will be wrapped to a new line. Otherwise, it will be truncated with an ellipsis (default: true)

    title?: string

    Title shown in page header

    verticalTextAlign?: "end" | "center" | "start"

    Vertical alignment of text