svelte-headless-table
svelte-headless-table copied to clipboard
How to change sub rows rowDataId ?
from this example
The id of a sub-row is in the format {parentId}>{id}.
but the problem is when i set rowDataId in
table.createViewModel(columns, {
rowDataId: (row) => row.id
});
it return index instead of the data.id
I followed the #110 instructions, but I obtain the same issue with subrows.
I followed the #110 instructions, but I obtain the same issue with subrows.
thats exactly my point. I screenshot the selectedDataIds for reference