# angular-4-data-table

> An Angular 4 data table, with pagination, sorting, expandable rows etc.

Latest version **0.4.6** (published 2018-03-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install angular-4-data-table
pnpm add angular-4-data-table
yarn add angular-4-data-table
bun add angular-4-data-table
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.4.6 |
| Published | 2018-03-01 |
| First published | 2017-07-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 9 |
| Unpacked size | 39.1 KB |
| Known vulnerabilities | 0 (+13 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 36 |
| Author | Dmitrii Bilukha |
| Maintainers | siniidrozd |
| Keywords | angular, angular4, Angular 4, ng2, datatable, data-table, data table, pagination |

## Links

- npm: https://www.npmjs.com/package/angular-4-data-table
- Repository: https://github.com/MIt9/angular-4-data-table
- Homepage: https://github.com/MIt9/angular-4-data-table#readme
- Issues: https://github.com/MIt9/angular-4-data-table/issues
- npm.io page: https://npm.io/package/angular-4-data-table

## Dependencies (9)

- [rxjs](https://npm.io/package/rxjs.md) ^5.1.0
- [ts-node](https://npm.io/package/ts-node.md) ~2.0.0
- [zone.js](https://npm.io/package/zone.js.md) ^0.8.12
- [typescript](https://npm.io/package/typescript.md) 2.1.5
- [@types/node](https://npm.io/package/@types/node.md) ~6.0.60
- [@angular/core](https://npm.io/package/@angular/core.md) ^4.0.0
- [@angular/forms](https://npm.io/package/@angular/forms.md) ^4.0.1
- [@angular/common](https://npm.io/package/@angular/common.md) ^4.0.1
- [@angular/platform-browser](https://npm.io/package/@angular/platform-browser.md) ^4.0.1

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

- 0.4.6 (latest) — 2018-03-01
- 0.4.5 — 2018-03-01
- 0.4.4 — 2018-02-21
- 0.4.3 — 2018-01-02
- 0.4.2 — 2018-01-02
- 0.4.1 — 2017-12-18
- 0.4.0 — 2017-12-18
- 0.3.0 — 2017-11-27
- 0.2.4 — 2017-11-23
- 0.2.3 — 2017-08-02
- 0.2.2 — 2017-08-01
- 0.2.1 — 2017-08-01
- 0.1.4 — 2017-08-01
- 0.1.3 — 2017-07-07

## README

## Angular 4 Data Table

This is fork of package [https://github.com/ggmod/angular-2-data-table] (https://github.com/ggmod/angular-2-data-table)

A simple Angular 4 data table, with built-in solutions for features including:

* pagination
* sorting
* row selection (single/multi)
* expandable rows
* column resizing
* selecting visible columns

The component can be used not just with local data, but remote resources too: for example if the sorting and paging happen in the database.

The templates use bootstrap CSS class names, so the component requires a bootstrap .css file to be present in the application using it.

Check out the [demo](https://ggmod.github.io/angular-2-data-table-demo) and its [code](https://github.com/MIt9/angular-4-data-table-demo) for examples of how to use it. 

Demo for pagination with seperate page numbers will be added soon

## Installing:
`npm install angular-4-data-table --save`

## Production (Minification)
Some times this can cause problems.  
To fix it use import like this

`import { DataTableModule } from 'angular-4-data-table';`

and for production build use

`ng build --prod --aot=false`

 ### Added numerical pagination support with 2 next and previous links 
  
#### Licensing
MIT License

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