export/import column map support

This commit is contained in:
Jan Prochazka
2022-03-13 14:02:09 +01:00
parent 750a37a27f
commit 34dae68a62
9 changed files with 202 additions and 12 deletions

View File

@@ -24,6 +24,7 @@
export let selectedIndex = 0;
export let clickable = false;
export let disableFocusOutline = false;
export let emptyMessage = null;
export let domTable = undefined;
@@ -99,6 +100,11 @@
{/each}
</tr>
{/each}
{#if emptyMessage && rows.length == 0}
<tr>
<td colspan={columnList.length}>{emptyMessage}</td>
</tr>
{/if}
</tbody>
</table>