DEMO : http://springbriz.github.io/table-row-mover/demo/initializr_bootstrap/
you can move <tr> or <tbody> up, down, to the top, to the bottom.
$('#sample-table').tableRowMover({
rowTagName: 'tbody'
}, function($row) {
$row.css('background-color', '#F2F2F2');
});| Option | Type | Default | Description |
|---|---|---|---|
| rowTagName | String | 'tr' | 'tr' or 'tbody' |
| selectors | Object |
|
|
| animate | Boolean | true | |
| animateDuration | Number or String | 'fast' | same as jQuery .animate() 'duration' option |
| animateEasing | String | 'swing' | same as jQuery .animate() 'easing' option |
| Type | Arguments | Description |
|---|---|---|
| function | row | row jQuery Object |
bower install table-row-mover
================ The MIT License.