# @swimlane/ngx-datatable

> ngx-datatable is an Angular table grid component for presenting large and complex data.

Latest version **25.1.0** (published 2026-08-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install @swimlane/ngx-datatable
pnpm add @swimlane/ngx-datatable
yarn add @swimlane/ngx-datatable
bun add @swimlane/ngx-datatable
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 25.1.0 |
| Published | 2026-08-10 |
| First published | 2016-12-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Dependencies | 1 |
| Unpacked size | 2.5 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4668 |
| Author | Swimlane |
| Maintainers | hansstoetzer, bensteele7, brantw, marjan-georgiev, danstory, bageldawg, it.admin.swim, royar95, swimlane.dev, manideep-swimlane, ischultz-swimlane, jogaj_26, nikkuman, sarath.pantula, grandhi_subrahmanyam, dabbott-sl, dmytro_skorokhodov, koushik.kumar, steveblue, prasanthsaiboyina, ashraygupta, surya-pabbineedi, anurag-p, anjali.tiwari |
| Keywords | angularjs, angular, javascript, datatable, grid, table |

## Links

- npm: https://www.npmjs.com/package/@swimlane/ngx-datatable
- Repository: https://github.com/swimlane/ngx-datatable
- Homepage: https://github.com/swimlane/ngx-datatable#readme
- Issues: https://github.com/swimlane/ngx-datatable/issues
- npm.io page: https://npm.io/package/@swimlane/ngx-datatable

## Dependencies (1)

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

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

- 25.1.0 (latest) — 2026-08-10
- 25.1.0-beta.1 (beta) — 2026-08-10
- 25.1.0-beta.0 — 2026-07-31
- 25.0.0 — 2026-07-29
- 26.0.0-beta.1 — 2026-07-27
- 26.0.0-beta.0 — 2026-07-25
- 24.0.1 — 2026-06-29
- 24.0.0 — 2026-06-17
- 24.0.0-alpha.0 — 2026-05-08
- 23.0.1 — 2026-04-13
- 22.0.0 — 2025-08-20
- 22.0.0-alpha.1 — 2025-06-30
- 22.0.0-alpha.0 — 2025-06-27
- 21.1.0 — 2025-06-20
- 21.0.0 — 2025-05-06
- … 82 more at https://npm.io/package/@swimlane/ngx-datatable/versions

## README

# ngx-datatable

[![Join the chat at https://gitter.im/swimlane/ngx-datatable](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/swimlane/ngx-datatable?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Code Climate](https://codeclimate.com/github/swimlane/ngx-datatable/badges/gpa.svg)](https://codeclimate.com/github/swimlane/ngx-datatable)
[![Test Coverage](https://codeclimate.com/github/swimlane/ngx-datatable/badges/coverage.svg)](https://codeclimate.com/github/swimlane/ngx-datatable/coverage)
[![npm version](https://badge.fury.io/js/%40swimlane%2Fngx-datatable.svg)](https://badge.fury.io/js/%40swimlane%2Fngx-datatable)
[![npm downloads](https://img.shields.io/npm/dm/@swimlane/ngx-datatable.svg)](https://npmjs.org/@swimlane/ngx-datatable)

`ngx-datatable` is an Angular component for presenting large and complex data. It has all the features you would expect from any other table but in a light package with _no external dependencies_. The table was designed to be extremely flexible and light; it doesn't make any assumptions about your data or how you: filter, sort or page it.

Check out the [documentation](https://swimlane.gitbook.io/ngx-datatable/) & [demos](http://swimlane.github.io/ngx-datatable/) for more information!

See the [changelog](https://github.com/swimlane/ngx-datatable/blob/master/docs/changelog.md) for recent changes.

## Features

- Handle large data sets ( Virtual DOM )
- Expressive Header and Cell Templates
- Horizontal & Vertical Scrolling
- Column Reordering & Resizing
- Client/Server side Pagination & Sorting
- Intelligent Column Width Algorithms ( Force-fill & Flex-grow )
- Integrated Pager
- Cell & Row Selection ( Single, Multi, Keyboard, Checkbox )
- Fixed AND Fluid height
- Left and Right Column Pinning
- Row Detail View
- Decoupled theme'ing with included Google Material theme
- Light codebase / No external dependencies
- AoT Compilation Support
- Universal Support

## Installation

To use ngx-datatable in your project install it via [npm](https://www.npmjs.com/package/@swimlane/ngx-datatable):

```
npm i @swimlane/ngx-datatable --save
```

## Building

Run `yarn build` to build the project. The build artifacts will be stored in the `dist/` directory.

## Running tests

- Run `yarn test` to execute the linter, prettier check, unit and end-to-end tests.

## Release

- Checkout master (`git checkout master`)
- Pull master (`git pull`)
- Refresh node modules (`yarn install --frozen-lockfile`)
- Run tests (`yarn test`)
- Examine log to determine next version (X.Y.Z)
- Run `git checkout -b release/X.Y.Z`
- Update version in `projects/swimlane/ngx-datatable/package.json`.
- Update changelog in `docs/CHANGELOG.md`
- Run `yarn package` to build the package
- Run `git commit -am "(release): X.Y.Z"`
- Run `git tag X.Y.Z`
- Run `git push origin HEAD --tags`
- Run `yarn publish`
- Submit PR

## Credits

`ngx-datatable` is a [Swimlane](http://swimlane.com) open-source project; we believe in giving back to the open-source community by sharing some of the projects we build for our application. Swimlane is an automated cyber security operations and incident response platform that enables cyber security teams to leverage threat intelligence, speed up incident response and automate security operations.

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