# svelte-autocomplete-table

> Table with autocomplete , sorting and filtering based on column values.

Latest version **1.0.5** (published 2020-08-01) · ISC license · 0 weekly downloads

## Install

```sh
npm install svelte-autocomplete-table
pnpm add svelte-autocomplete-table
yarn add svelte-autocomplete-table
bun add svelte-autocomplete-table
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2020-08-01 |
| First published | 2020-08-01 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 6.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Krishnan B |
| Maintainers | krishnan555 |
| Keywords | svelte, autocomplete, svelte3, svelte-components, autocomplete-table, auto complete, svelte-autocomplete-table, svelte-table |

## Links

- npm: https://www.npmjs.com/package/svelte-autocomplete-table
- Repository: https://github.com/Krishnan555/svelte-autocomplete-table
- Homepage: https://github.com/Krishnan555/svelte-autocomplete-table#readme
- Issues: https://github.com/Krishnan555/svelte-autocomplete-table.git/issues
- npm.io page: https://npm.io/package/svelte-autocomplete-table

## Alternatives

- [@lexical/table](https://npm.io/package/@lexical/table.md) — 3.0M weekly downloads
- [mantine-datatable](https://npm.io/package/mantine-datatable.md) — 98.2K weekly downloads
- [react-native-collapsible-tab-view](https://npm.io/package/react-native-collapsible-tab-view.md) — 70.6K weekly downloads
- [@handsontable/vue3](https://npm.io/package/@handsontable/vue3.md) — 16.1K weekly downloads
- [vuewordcloud](https://npm.io/package/vuewordcloud.md) — 7.2K weekly downloads

## Recent versions

- 1.0.5 (latest) — 2020-08-01
- 1.0.3 — 2020-08-01
- 1.0.2 — 2020-08-01
- 1.0.1 — 2020-08-01
- 1.0.0 — 2020-08-01

## README

# svelte-autocomplete-table

Table with autocomplete , sorting and filtering based on column values.

## Install

```sh
npm install -save svelte-autocomplete-table
```

# Usage

This displays Table with AutoComplete feature , sorting feature.
 
```html

<script>
  import SvelteAutoCompleteTable from "svelte-autocomplete-table";
  const data = [
    /** data */
  ];
</script>

<SvelteAutoCompleteTable dataForTable={data} searchByAll makeTableSortable/>
```

This displays Table with AutoComplete feature with specific key , sorting feature.
 
```html
<script>
  import SvelteAutoCompleteTable from "svelte-autocomplete-table";
  const data = [
    /** data */
  ];
  const key = "Enter the key to Search in AutoComplete";
</script>

<SvelteAutoCompleteTable dataForTable={data} searchBy={key} makeTableSortable/>
```

This displays Table without AutoComplete feature.
 
```html
<script>
  import SvelteAutoCompleteTable from "svelte-autocomplete-table";
  const data = [
    /** data */
  ];
</script>

<SvelteAutoCompleteTable dataForTable={data} disableAutoComplete makeTableSortable/>
```

This displays Table without AutoComplete and sorting Feature.

```html
<script>
  import SvelteAutoCompleteTable from "svelte-autocomplete-table";
  const data = [
    /** data */
  ];
</script>

<SvelteAutoCompleteTable dataForTable={data} />
```


## 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	|

---
_Source: https://npm.io/package/svelte-autocomplete-table · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
