# datatables.net-responsive

> Responsive for DataTables

Latest version **4.1.1** (published 2026-09-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install datatables.net-responsive
pnpm add datatables.net-responsive
yarn add datatables.net-responsive
bun add datatables.net-responsive
```

## Health

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

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 4.1.1 |
| Published | 2026-09-25 |
| First published | 2015-10-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 151.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 152 |
| Author | SpryMedia Ltd |
| Maintainers | datatables |
| Keywords | Responsive, Datatables, table, filter, sort |

## Links

- npm: https://www.npmjs.com/package/datatables.net-responsive
- Repository: https://github.com/DataTables/Responsive
- Homepage: https://datatables.net
- Issues: https://datatables.net/forums
- npm.io page: https://npm.io/package/datatables.net-responsive

## Dependencies (1)

- [datatables.net](https://npm.io/package/datatables.net.md) ^3.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

- 4.1.1 (latest) — 2026-09-25
- 4.0.0-beta.1 (beta) — 2026-04-07
- 2.5.1 (dt1-compat) — 2024-02-19
- 4.1.0 — 2026-09-22
- 4.0.3 — 2026-09-03
- 4.0.2 — 2026-08-18
- 4.0.1 — 2026-07-31
- 4.0.0 — 2026-07-24
- 3.0.8 — 2026-01-30
- 3.0.7 — 2025-09-29
- 3.0.6 — 2025-08-20
- 3.0.5 — 2025-07-02
- 3.0.4 — 2025-02-11
- 3.0.3 — 2024-08-30
- 3.0.2 — 2024-04-16
- … 22 more at https://npm.io/package/datatables.net-responsive/versions

## README

# Responsive

Responsive will automatically optimise the table's layout for different screen sizes through the dynamic column visibility control, making your tables useful on desktop and mobile screens.


# Installation

To use Responsive the primary way to obtain the software is to use the [DataTables downloader](//datatables.net/download). You can also include the individual files from the [DataTables CDN](//cdn.datatables.net). See the [documentation](http://datatables.net/extensions/responsive/) for full details.

## NPM and Bower

If you prefer to use a package manager such as NPM or Bower, distribution repositories are available with software built from this repository under the name `datatables.net-responsive`. Styling packages for Bootstrap, Foundation and other styling libraries are also available by adding a suffix to the package name.

Please see the DataTables [NPM](//datatables.net/download/npm) and [Bower](//datatables.net/download/bower) installation pages for further information. The [DataTables installation manual](//datatables.net/manual/installation) also has details on how to use package managers with DataTables.


# Basic usage

Responsive is initialised using the `responsive` option in the DataTables constructor - a simple boolean `true` will enable the feature. Further options can be specified using this option as an object - see the documentation for details.

Example:

```js
$(document).ready( function () {
    $('#myTable').DataTable( {
    	responsive: true
    } );
} );
```


# Documentation / support

* [Documentation](https://datatables.net/extensions/responsive/)
* [DataTables support forums](http://datatables.net/forums)


# GitHub

If you fancy getting involved with the development of Responsive and help make it better, please refer to its [GitHub repo](https://github.com/DataTables/Responsive).

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