Skip to content

Interface: KubeObjectListLayoutProps<K, A, D>#

Renderer.Component.KubeObjectListLayoutProps

Type parameters#

Name Type
K extends KubeObject
A extends KubeApi<K, D>
D extends KubeJsonApiDataFor<K>

Hierarchy#

  • Omit<ItemListLayoutProps<K, false>, "getItems" | "dependentStores" | "preloadStores">

KubeObjectListLayoutProps

Table of contents#

Properties#

Methods#

Properties#

addRemoveButtons#

Optional addRemoveButtons: Partial<AddRemoveButtonsProps>

Inherited from#

Omit.addRemoveButtons


className#

className: IClassName

Inherited from#

Omit.className


copyClassNameFromHeadCells#

Optional copyClassNameFromHeadCells: boolean

Inherited from#

Omit.copyClassNameFromHeadCells


customizeHeader#

Optional customizeHeader: HeaderCustomizer | HeaderCustomizer[]

Inherited from#

Omit.customizeHeader


dependentStores#

Optional dependentStores: SubscribableStore[]


detailsItem#

Optional detailsItem: K

Inherited from#

Omit.detailsItem


failedToLoadMessage#

Optional failedToLoadMessage: ReactNode

Message to display when a store failed to load

default "Failed to load items"

Inherited from#

Omit.failedToLoadMessage


filterCallbacks#

Optional filterCallbacks: ItemsFilters<K>

Inherited from#

Omit.filterCallbacks


filterItems#

Optional filterItems: ItemsFilter<K>[]

deprecated

Inherited from#

Omit.filterItems


hasDetailsView#

Optional hasDetailsView: boolean

Inherited from#

Omit.hasDetailsView


headerClassName#

Optional headerClassName: IClassName

Inherited from#

Omit.headerClassName


hideFilters#

Optional hideFilters: boolean

Inherited from#

Omit.hideFilters


isConfigurable#

Optional isConfigurable: boolean

Inherited from#

Omit.isConfigurable


isReady#

Optional isReady: boolean

Inherited from#

Omit.isReady


isSelectable#

Optional isSelectable: boolean

Inherited from#

Omit.isSelectable


items#

Optional items: K[]


renderHeaderTitle#

Optional renderHeaderTitle: RenderHeaderTitle<K, false>

Inherited from#

Omit.renderHeaderTitle


renderTableHeader#

Optional renderTableHeader: (undefined | null | TableCellProps)[]

Inherited from#

Omit.renderTableHeader


searchFilters#

Optional searchFilters: SearchFilter<K>[]

Inherited from#

Omit.searchFilters


showHeader#

Optional showHeader: boolean

Inherited from#

Omit.showHeader


sortingCallbacks#

Optional sortingCallbacks: TableSortCallbacks<K>

Inherited from#

Omit.sortingCallbacks


store#

store: KubeObjectStore<K, A, D>

Overrides#

Omit.store


subscribeStores#

Optional subscribeStores: boolean


tableId#

Optional tableId: string

Inherited from#

Omit.tableId


tableProps#

Optional tableProps: Partial<TableProps<K>>

Inherited from#

Omit.tableProps


virtual#

Optional virtual: boolean

Inherited from#

Omit.virtual

Methods#

customizeRemoveDialog#

Optional customizeRemoveDialog(selectedItems): Partial<ConfirmDialogParams>

Parameters#

Name Type
selectedItems Item[]

Returns#

Partial<ConfirmDialogParams>

Inherited from#

Omit.customizeRemoveDialog


customizeTableRowProps#

Optional customizeTableRowProps(item): Partial<TableRowProps<Item>>

Parameters#

Name Type
item Item

Returns#

Partial<TableRowProps<Item>>

Inherited from#

Omit.customizeTableRowProps


getItems#

Optional getItems(): K[]

Returns#

K[]


onDetails#

Optional onDetails(item): void

Parameters#

Name Type
item Item

Returns#

void

Inherited from#

Omit.onDetails


renderFooter#

Optional renderFooter(parent): ReactNode

Parameters#

Name Type
parent NonInjectedItemListLayout<Item, PreLoadStores>

Returns#

ReactNode

Inherited from#

Omit.renderFooter


renderItemMenu#

Optional renderItemMenu(item, store): ReactNode

Parameters#

Name Type
item Item
store ItemListStore<Item, PreLoadStores>

Returns#

ReactNode

Inherited from#

Omit.renderItemMenu


renderTableContents#

renderTableContents(item): (ReactNode | TableCellProps)[]

Parameters#

Name Type
item Item

Returns#

(ReactNode | TableCellProps)[]

Inherited from#

Omit.renderTableContents