# datatables.net-rowgroup

> RowGroup for DataTables

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

## Install

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

## Health

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

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 2.1.1 |
| Published | 2026-09-25 |
| First published | 2017-04-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 42.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 30 |
| Author | SpryMedia Ltd |
| Maintainers | datatables |
| Keywords | RowGroup, Row Grouping, Datatables, table, filter, sort |

## Links

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

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

- 2.1.1 (latest) — 2026-09-25
- 2.0.0-beta.1 (beta) — 2026-04-07
- 2.1.0 — 2026-09-22
- 2.0.0 — 2026-07-24
- 1.6.0 — 2025-09-09
- 1.5.2 — 2025-07-03
- 1.5.1 — 2024-11-07
- 1.5.0 — 2024-02-15
- 1.4.1 — 2023-10-05
- 1.4.0 — 2023-07-04
- 1.3.1 — 2023-03-10
- 1.3.0 — 2022-11-07
- 1.2.0 — 2022-05-12
- 1.1.4 — 2021-10-28
- 1.1.3 — 2021-06-04
- … 8 more at https://npm.io/package/datatables.net-rowgroup/versions

## README

# RowGroup

RowGroup adds the ability to easily group rows in a DataTable by a given data point. The grouping is shown as an inserted row either before or after the group.

It is worth nothing that RowGroup currently does not work with:

* The Scroller extension for DataTables
* Export buttons for DataTables (the data will be shown, but the grouping is not).


# Installation

To use RowGroup 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/rowgroup/) 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-rowgroup`. 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

RowGroup is initialised using the `rowGroup` option in the DataTables constructor - a simple boolean `true` will enable the feature, but you will most likely wish to use the `rowGroup.dataSrc` option to configure the data parameter which should be used to read the grouping data from.

Example:

```js
$(document).ready( function () {
    $('#myTable').DataTable( {
    	rowGroup: {
            dataSrc: 0
        }
    } );
} );
```


# Documentation / support

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


# GitHub

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

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