# ngx-edutable

> ngx-edutable is a simple data table for Angular projects.

Latest version **1.0.3** (published 2022-09-26) · 0 weekly downloads

## Install

```sh
npm install ngx-edutable
pnpm add ngx-edutable
yarn add ngx-edutable
bun add ngx-edutable
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2022-09-26 |
| First published | 2022-09-05 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 60.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | edupoly |

## Links

- npm: https://www.npmjs.com/package/ngx-edutable
- npm.io page: https://npm.io/package/ngx-edutable

## Dependencies (1)

- [tslib](https://npm.io/package/tslib.md) ^2.3.0

## Recent versions

- 1.0.3 (latest) — 2022-09-26
- 1.0.2 — 2022-09-15
- 1.0.1 — 2022-09-06
- 1.0.0 — 2022-09-06
- 0.0.2 — 2022-09-05
- 0.0.1 — 2022-09-05

## README

# NgxEdutable
ngx-edutable is a simple data table for Angular projects.

## Getting Started

ngx-edutable provides a table component which can:
a. sort the table contents
b. search for an entry in the table

Users can also set how many entries to show in the table.

## Installation

Install `ngx-edutable` from `npm`:
```bash
npm install ngx-edutable --save
```
Add the module to NgModule imports:
```
import { NgxEdutableModule } from 'ngx-edutable';

@NgModule({
  ...
  imports: [NgxEdutableModule]
  ...
})
```
Add the component to your template:
```
<ngx-edutable [users]="users" [perPageLimits]="perPageLimits"></ngx-edutable>
```

Here, `users` and `perPageLimits` are Input properties of `NgxEdutableComponent`:

`users` is the data to be displayed in the table and `perPageLimits` is an array for the number of items to be displayed in the table.

In the component file,
```
export class MyComponent {
  users: any[] = [
    {
      "name": "John Doe",
      "occupation": "Artist",
      "Experience": "17 years"
    },
    {
      "name": "Jane Williams",
      "occupation": "Software Engineer",
      "Experience": "15 years"
    },
    {
      "name": "Harry Potter",
      "occupation": "Magician",
      "Experience": "10 years"
    }
  ]
  perPageLimits: any[] = [1,2,3];
  ...
  ...
  ...
}
```

Thats it! Happy coding...

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