mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
feat(data-table): pass row index, cell index to "cell" slot (#1086)
This commit is contained in:
parent
34affd851a
commit
3b70a35df6
4 changed files with 30 additions and 13 deletions
|
@ -2429,7 +2429,7 @@
|
|||
"name": "cell",
|
||||
"default": false,
|
||||
"fallback": "{cell.display ? cell.display(cell.value) : cell.value}",
|
||||
"slot_props": "{ row: DataTableRow; cell: DataTableCell; }"
|
||||
"slot_props": "{ row: DataTableRow; cell: DataTableCell; rowIndex: number; cellIndex: number; }"
|
||||
},
|
||||
{
|
||||
"name": "cell-header",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue