mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
feat(toolbar-search): add filteredRowIds
prop to support pagination (#1454)
Closes #1393 * feat(toolbar-search): add `filteredRowIds` prop * Run "yarn build:docs" * test(data-table): assert `filteredRowIds` prop * docs(data-table): add pagination to default filterable examples
This commit is contained in:
parent
2d99fe45c0
commit
dbe33d5cbb
8 changed files with 69 additions and 30 deletions
6
types/DataTable/ToolbarSearch.svelte.d.ts
vendored
6
types/DataTable/ToolbarSearch.svelte.d.ts
vendored
|
@ -44,6 +44,12 @@ export interface ToolbarSearchProps
|
|||
value: number | string
|
||||
) => boolean);
|
||||
|
||||
/**
|
||||
* The filtered row ids
|
||||
* @default []
|
||||
*/
|
||||
filteredRowIds?: ReadonlyArray<import("./DataTable.svelte").DataTableRowId>;
|
||||
|
||||
/**
|
||||
* Specify the tabindex
|
||||
* @default "0"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue