Skip to content

SelectableTableProps

@firecms/core


@firecms/core / SelectableTableProps

SelectableTableProps<M> = object

Defined in: components/SelectableTable/SelectableTable.tsx:22

M extends Record<string, any>

optional AddColumnComponent: React.ComponentType

Defined in: components/SelectableTable/SelectableTable.tsx:95


cellRenderer: React.ComponentType<CellRendererParams<Entity<M>>>

Defined in: components/SelectableTable/SelectableTable.tsx:31


columns: VirtualTableColumn[]

Defined in: components/SelectableTable/SelectableTable.tsx:29


optional emptyComponent: React.ReactNode

Defined in: components/SelectableTable/SelectableTable.tsx:91


optional endAdornment: React.ReactNode

Defined in: components/SelectableTable/SelectableTable.tsx:93


optional filterable: boolean

Defined in: components/SelectableTable/SelectableTable.tsx:67


optional forceFilter: FilterValues<keyof M extends string ? keyof M : never>

Defined in: components/SelectableTable/SelectableTable.tsx:73


optional highlightedRow: (data) => boolean

Defined in: components/SelectableTable/SelectableTable.tsx:75

Entity<M>

boolean


optional hoverRow: boolean

Defined in: components/SelectableTable/SelectableTable.tsx:58

Should apply a different style to a row when hovering


optional initialScroll: number

Defined in: components/SelectableTable/SelectableTable.tsx:79


optional inlineEditing: boolean

Defined in: components/SelectableTable/SelectableTable.tsx:71


optional onScroll: (props) => void

Defined in: components/SelectableTable/SelectableTable.tsx:85

Callback when the table is scrolled

"forward" | "backward"

number

boolean

void


optional onValueChange: OnCellValueChange<any, M>

Defined in: components/SelectableTable/SelectableTable.tsx:27

Callback when a cell value changes.


optional size: CollectionSize

Defined in: components/SelectableTable/SelectableTable.tsx:77


optional sortable: boolean

Defined in: components/SelectableTable/SelectableTable.tsx:69


tableController: EntityTableController<M>

Defined in: components/SelectableTable/SelectableTable.tsx:65

Controller holding the logic for the table useDataSourceTableController EntityTableController


optional tableRowActionsBuilder: (params) => React.ReactNode

Defined in: components/SelectableTable/SelectableTable.tsx:38

Builder for creating the buttons in each row

Entity<M>

boolean

CollectionSize

number

React.ReactNode

optional onColumnResize(params): void

Defined in: components/SelectableTable/SelectableTable.tsx:53

Callback when a column is resized

OnColumnResizeParams

void


optional onEntityClick(entity): void

Defined in: components/SelectableTable/SelectableTable.tsx:48

Callback when anywhere on the table is clicked

Entity<M>

void