Interface: KubeObjectListLayoutProps<K>#
Renderer.Component.KubeObjectListLayoutProps
Type parameters#
Name | Type |
---|---|
K |
extends KubeObject |
Hierarchy#
ItemListLayoutProps
<K
>
↳ KubeObjectListLayoutProps
Table of contents#
Properties#
- addRemoveButtons
- className
- copyClassNameFromHeadCells
- customizeHeader
- dependentStores
- detailsItem
- failedToLoadMessage
- filterCallbacks
- filterItems
- hasDetailsView
- headerClassName
- hideFilters
- isConfigurable
- isReady
- isSelectable
- items
- preloadStores
- renderHeaderTitle
- renderTableHeader
- searchFilters
- showHeader
- sortingCallbacks
- store
- subscribeStores
- tableId
- tableProps
- virtual
Methods#
- customizeRemoveDialog
- customizeTableRowProps
- onDetails
- renderFooter
- renderItemMenu
- renderTableContents
Properties#
addRemoveButtons#
• Optional
addRemoveButtons: Partial
<AddRemoveButtonsProps
>
Inherited from#
ItemListLayoutProps.addRemoveButtons
className#
• className: IClassName
Inherited from#
ItemListLayoutProps.className
copyClassNameFromHeadCells#
• Optional
copyClassNameFromHeadCells: boolean
Inherited from#
ItemListLayoutProps.copyClassNameFromHeadCells
customizeHeader#
• Optional
customizeHeader: HeaderCustomizer
| HeaderCustomizer
[]
Inherited from#
ItemListLayoutProps.customizeHeader
dependentStores#
• Optional
dependentStores: KubeObjectStore
<KubeObject
<KubeObjectMetadata
, any
, any
>>[]
Overrides#
ItemListLayoutProps.dependentStores
detailsItem#
• Optional
detailsItem: K
Inherited from#
ItemListLayoutProps.detailsItem
failedToLoadMessage#
• Optional
failedToLoadMessage: ReactNode
Message to display when a store failed to load
default
"Failed to load items"
Inherited from#
ItemListLayoutProps.failedToLoadMessage
filterCallbacks#
• Optional
filterCallbacks: ItemsFilters
<K
>
Inherited from#
ItemListLayoutProps.filterCallbacks
filterItems#
• Optional
filterItems: ItemsFilter
<K
>[]
deprecated
Inherited from#
ItemListLayoutProps.filterItems
hasDetailsView#
• Optional
hasDetailsView: boolean
Inherited from#
ItemListLayoutProps.hasDetailsView
headerClassName#
• Optional
headerClassName: IClassName
Inherited from#
ItemListLayoutProps.headerClassName
hideFilters#
• Optional
hideFilters: boolean
Inherited from#
ItemListLayoutProps.hideFilters
isConfigurable#
• Optional
isConfigurable: boolean
Inherited from#
ItemListLayoutProps.isConfigurable
isReady#
• Optional
isReady: boolean
Inherited from#
ItemListLayoutProps.isReady
isSelectable#
• Optional
isSelectable: boolean
Inherited from#
ItemListLayoutProps.isSelectable
items#
• Optional
items: K
[]
Inherited from#
ItemListLayoutProps.items
preloadStores#
• Optional
preloadStores: boolean
Inherited from#
ItemListLayoutProps.preloadStores
renderHeaderTitle#
• Optional
renderHeaderTitle: ReactNode
| (parent
: ItemListLayout
<K
>) => ReactNode
Inherited from#
ItemListLayoutProps.renderHeaderTitle
renderTableHeader#
• renderTableHeader: TableCellProps
[]
Inherited from#
ItemListLayoutProps.renderTableHeader
searchFilters#
• Optional
searchFilters: SearchFilter
<K
>[]
Inherited from#
ItemListLayoutProps.searchFilters
showHeader#
• Optional
showHeader: boolean
Inherited from#
ItemListLayoutProps.showHeader
sortingCallbacks#
• Optional
sortingCallbacks: TableSortCallbacks
<K
>
Inherited from#
ItemListLayoutProps.sortingCallbacks
store#
• store: KubeObjectStore
<K
>
Overrides#
ItemListLayoutProps.store
subscribeStores#
• Optional
subscribeStores: boolean
tableId#
• Optional
tableId: string
Inherited from#
ItemListLayoutProps.tableId
tableProps#
• Optional
tableProps: Partial
<TableProps
<K
>>
Inherited from#
ItemListLayoutProps.tableProps
virtual#
• Optional
virtual: boolean
Inherited from#
ItemListLayoutProps.virtual
Methods#
customizeRemoveDialog#
▸ Optional
customizeRemoveDialog(selectedItems
): Partial
<ConfirmDialogParams
>
Parameters#
Name | Type |
---|---|
selectedItems |
I [] |
Returns#
Partial
<ConfirmDialogParams
>
Inherited from#
ItemListLayoutProps.customizeRemoveDialog
customizeTableRowProps#
▸ Optional
customizeTableRowProps(item
): Partial
<TableRowProps
>
Parameters#
Name | Type |
---|---|
item |
I |
Returns#
Partial
<TableRowProps
>
Inherited from#
ItemListLayoutProps.customizeTableRowProps
onDetails#
▸ Optional
onDetails(item
): void
Parameters#
Name | Type |
---|---|
item |
I |
Returns#
void
Inherited from#
ItemListLayoutProps.onDetails
renderFooter#
▸ Optional
renderFooter(parent
): ReactNode
Parameters#
Name | Type |
---|---|
parent |
ItemListLayout <I > |
Returns#
ReactNode
Inherited from#
ItemListLayoutProps.renderFooter
renderItemMenu#
▸ Optional
renderItemMenu(item
, store
): ReactNode
Parameters#
Name | Type |
---|---|
item |
I |
store |
ItemStore <I > |
Returns#
ReactNode
Inherited from#
ItemListLayoutProps.renderItemMenu
renderTableContents#
▸ renderTableContents(item
): (ReactNode
| TableCellProps
)[]
Parameters#
Name | Type |
---|---|
item |
I |
Returns#
(ReactNode
| TableCellProps
)[]
Inherited from#
ItemListLayoutProps.renderTableContents