Type Parameters

Hierarchy

  • ExplorerProps

Properties

Array of actions to be rendered.

bulkActions?: ExplorerBulkAction<T>[]

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

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) => LocationDescriptor<unknown>)

Type declaration

    • (data): 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!

      Parameters

      • data: T

      Returns LocationDescriptor<unknown>

headerRowActionSize?: string

Header checkbox size

headerRowHeight?: string

Header row height

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

Horizontal alignment of text

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

Type declaration

    • (data): ActionData[]
    • Provide inline actions which are available through '...' context menu

      Parameters

      • data: T

      Returns ActionData[]

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) => void)

Type declaration

    • (expanded): void
    • Callback to emit when Bulk Actions is toggled The expanded state is supplied as an argument

      Parameters

      • expanded: boolean

      Returns void

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

Type declaration

    • (data, mode?): 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

      Parameters

      Returns void

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

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?: "center" | "end" | "start"

Vertical alignment of text

Generated using TypeDoc