Subversion-Projekte lars-tiefland.ci

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
875 lars 1
# RowReorder
2
 
3
RowReorder adds the ability for rows in a DataTable to be reordered through user interaction with the table (click and drag / touch and drag). Integration with Editor's multi-row editing feature is also available to update rows immediately.
4
 
5
 
6
# Installation
7
 
8
To use RowReorder the best 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/rowreorder/) for full details.
9
 
10
 
11
# Basic usage
12
 
13
RowReorder is initialised using the `rowReorder` 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.
14
 
15
Example:
16
 
17
```js
18
$(document).ready( function () {
19
    $('#myTable').DataTable( {
20
    	rowReorder: true
21
    } );
22
} );
23
```
24
 
25
 
26
# Documentation / support
27
 
28
* [Documentation](https://datatables.net/extensions/rowreorder/)
29
* [DataTables support forums](http://datatables.net/forums)
30
 
31
 
32
# GitHub
33
 
34
If you fancy getting involved with the development of RowReorder and help make it better, please refer to its [GitHub repo](https://github.com/DataTables/RowReorder).
35