svelte-simple-table

Svelte Simple Table

svelte-simple-table

How to install

npm install svelte-simple-table

Example

<script>
  import SimpleTable from 'svelte-simple-table';
</script>

<style>
  
</style>

<SimpleTable column={['A','B']} rowData={[{'A': 'a1', 'B': 'b1'}, {'A': 'a2', 'B': 'b2'}]}/>

Properties

Prop Default Type Required Description
columns [] Array Y
rowData [] Array Y
sortingEnabled true Boolean N
FilterEnabled true Boolean N
paginationEnabled true Boolean N
paginationRow 10 Number N
firstRowFixed true Boolean N
columnFixed false Boolean N
fixedColumn 1 Number N
emptyValue '' Any N

Methods

Prop Params Description
downloadCSV -

Top categories

Loading Svelte Themes