Appearance
Home > @liquidrazor/list-display > ListConfig
ListConfig interface
Public configuration accepted by ListDisplay.
Signature:
typescript
export interface ListConfig<TRow = any, TRowId = RowId>Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
(Optional) Overridable UI components (slots). | |||
(Optional) Optional props passed to slot components. | |||
DataSource<TRow, TRowId> | Data source adapter. | ||
Array<FieldSchema<TRow>> | Column definitions. | ||
Array<GeneralAction<TRow, TRowId>> | (Optional) General (toolbar-level) actions. | ||
keyof TRow & string | Property name on TRow used as identifier. | ||
(Optional) Initial filters map. | |||
(Optional) Initial pagination state. | |||
SortDescriptor<TRow> | (Optional) Initial sort descriptor. | ||
Array<RowAction<TRow, TRowId>> | (Optional) Row-level actions. | ||
(Optional) Selection mode for the list. |