svelte-autocomplete-table
Table with autocomplete , sorting and filtering based on column values.
Install
npm install -save svelte-autocomplete-table
Usage
This displays Table with AutoComplete feature , sorting feature.
This displays Table with AutoComplete feature with specific key , sorting feature.
This displays Table without AutoComplete feature.
This displays Table without AutoComplete and sorting Feature.
Props
Option | Type | Description |
---|---|---|
dataForTable |
Object[] | Data For Table |
searchBy |
String | To make AutoComplete Search for particular key |
searchByAll |
Boolean | To allow AutoComplete Search for all keys |
makeTableSortable |
Boolean | Whether the table can be sorted on column |
disableAutoComplete |
Boolean | Whether the table can have autocomplete or not |