mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-17 03:01:25 +00:00
If `headers` is dynamically updated, clicking a sortable table header will sort the incorrect column. Instead of randomly generating an id and keeping track of it through context, we can simply use the required key in `headers` as the id. |
||
---|---|---|
.. | ||
DataTable.svelte | ||
DataTableSkeleton.svelte | ||
index.js | ||
Table.svelte | ||
TableBody.svelte | ||
TableCell.svelte | ||
TableContainer.svelte | ||
TableHead.svelte | ||
TableHeader.svelte | ||
TableRow.svelte | ||
Toolbar.svelte | ||
ToolbarBatchActions.svelte | ||
ToolbarContent.svelte | ||
ToolbarMenu.svelte | ||
ToolbarMenuItem.svelte | ||
ToolbarSearch.svelte |