svelma
svelma copied to clipboard
Question/Feature Suggestion DataTable
Hi.
I'm looking for two DataTable features:
- selectable row, onselect event handler
- svelte component nesting inside DataTable cell
These aren't implemented, right ?
<!-- DataTable.svelte: -->
<!-- ... -->
<tbody>
{#each sorted as item, index}
<slot name="item">
<Row
bind:editing
{index}
{item}
{columns}
{editable}
{editableClasses}
on:update
/>
</slot>
{/each}
</tbody>
<!-- ... -->
Is there another way to achieve selectable row and component nesting with svelma ?