mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 19:46:36 +00:00
parent
2d99fe45c0
commit
b1bc4e704e
1 changed files with 7 additions and 0 deletions
|
@ -28,6 +28,12 @@
|
||||||
*/
|
*/
|
||||||
export let shouldFilterRows = false;
|
export let shouldFilterRows = false;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The filtered row ids
|
||||||
|
* @type {ReadonlyArray<import("./DataTable.svelte").DataTableRowId>}
|
||||||
|
*/
|
||||||
|
export let filteredRowIds = [];
|
||||||
|
|
||||||
/** Specify the tabindex */
|
/** Specify the tabindex */
|
||||||
export let tabindex = "0";
|
export let tabindex = "0";
|
||||||
|
|
||||||
|
@ -65,6 +71,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
tableRows.set(rows);
|
tableRows.set(rows);
|
||||||
|
filteredRowIds = rows.map((row) => row.id);
|
||||||
}
|
}
|
||||||
|
|
||||||
async function expandSearch() {
|
async function expandSearch() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue