# datatables-quickedit

> Provides quick edition of the items in a DataTable

Latest version **1.0.2** (published 2018-02-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install datatables-quickedit
pnpm add datatables-quickedit
yarn add datatables-quickedit
bun add datatables-quickedit
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2018-02-03 |
| First published | 2018-01-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Brizhanev Oleg |
| Maintainers | brizhanev |
| Keywords | js, DataTable, quickEdit |

## Links

- npm: https://www.npmjs.com/package/datatables-quickedit
- Repository: https://github.com/Brizhanev/datatables-quickedit
- Homepage: https://github.com/Brizhanev/datatables-quickedit#readme
- Issues: https://github.com/Brizhanev/datatables-quickedit/issues
- npm.io page: https://npm.io/package/datatables-quickedit

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.0.2 (latest) — 2018-02-03
- 1.0.1 — 2018-02-03
- 1.0.0 — 2018-01-21

## README

# datatables-quickedit

Plugin for JQuery Datatables, allows you to change the contents of cells in the table and perform any actions with the changed data.

## Installation

### npm

```bash
npm i datatables-quickedit
```

```js
/* Jquery Datatables */
import 'datatables.net/js/jquery.dataTables.js';
import 'datatables.net-dt/css/jquery.dataTables.css';

/* datatables-quickedit */
import 'datatables-quickedit/js/dataTables.quickEdit.js';
```

### Direct &lt;script&gt; Include

```html
<!-- Jquery Datatables -->
<link rel="stylesheet" type="text/css" href="//cdn.datatables.net/1.10.16/css/jquery.dataTables.css">
<script type="text/javascript" charset="utf8" src="//cdn.datatables.net/1.10.16/js/jquery.dataTables.js"></script>

<!-- datatables-quickedit -->
<script src="dataTables.quickEdit.js"></script>
```

## Usage

```html
<table>
  <thead>
    <tr>
      <th>1 колонка</th>
      <th>2 колонка</th>
    </tr>
  </thead>
  <tbody>
     <tr>
       <td>1 значение</td>
       <td>2 значение</td>
     </tr>
  </tbody>
</table>
```

```js
var table = $('table').DataTable({
  quickEdit: {
    selector: 'td',
    callback: function(data) {
      /* Make something with updated data from row */
      makeSomethingWithRowData(data);
    },
    editableClass: 'active'
  }
});
```

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