# Datatables.webcomponent

A lightweight webcomponent for creating datatables. Inspired by jQuery Datatables.

[Datatables.webcomponent Documentation](https://github.com/paulmaclean/datatables.webcomponent/wiki)

---

## Examples

#### Usage Examples
* [lit-element](https://github.com/paulmaclean/datatables.webcomponent/wiki/Lit-Element-Usage)
* [standalone](https://github.com/paulmaclean/datatables.webcomponent/wiki/Standalone-Usage)
* [slotted table](https://github.com/paulmaclean/datatables.webcomponent/wiki/Slotted-Table-Usage)
* [ajax](https://github.com/paulmaclean/datatables.webcomponent/wiki/Ajax-Table-Usage)

#### Styling Examples
* [css variables](https://github.com/paulmaclean/datatables.webcomponent/wiki/css-variables)
* [css overrides](https://github.com/paulmaclean/datatables.webcomponent/wiki/css-overrides)
* [new themes](https://github.com/paulmaclean/datatables.webcomponent/wiki/new-themes)


## Install

### npm
```
npm install @p_mac/datatables.webcomponent --save
```

---

## License

MIT

## Features

* Sortable columns
* Pagination
* Searchable
* Filterable columns
* Summable columns
* Load data via slotted table
* Load data via AJAX requests
* Export to `csv`

---

## Usage

See the [Documentation](https://github.com/paulmaclean/datatables.webcomponent/wiki) for usage instructions.