SortedTableInHtmlTableProps
SortedTableInHtmlTableProps
props are used for components that will render a sorted Table
in an HTML table, such as the SortedTableInHtmlTable
component.
{
tableId: Id;
cellId?: Id;
descending?: boolean;
offset?: number;
limit?: number;
store?: StoreOrStoreId;
editable?: boolean;
customCells?: Ids | {[cellId: Id]: string | CustomCell};
sortOnClick?: boolean;
paginator?: boolean | ComponentType<SortedTablePaginatorProps>;
onChange?: (sortAndOffset: [cellId: Id | undefined, descending: boolean, offset: number]) => void;
}
Type | Description | |
---|---|---|
tableId | Id | |
cellId? | Id | The |
descending? | boolean | Whether the sorting should be in descending order. |
offset? | number | |
limit? | number | |
store? | StoreOrStoreId | The |
editable? | boolean | Whether the Cells should be editable. This affects the default |
customCells? | Ids | {[cellId: Id]: string | CustomCell} | An optional list of |
sortOnClick? | boolean | Whether the table should be interactive such that clicking a header changes the sorting and/or direction. |
paginator? | boolean | ComponentType<SortedTablePaginatorProps> | Either |
onChange? | (sortAndOffset: [cellId: Id | undefined, descending: boolean, offset: number]) => void | A function that is called whenever the sorting or pagination of the |
Since
v4.1.0