svelma icon indicating copy to clipboard operation
svelma copied to clipboard

Question/Feature Suggestion DataTable

Open coolemur opened this issue 4 years ago • 0 comments

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 ?

coolemur avatar Oct 05 '20 00:10 coolemur