angular-datatables
angular-datatables copied to clipboard
Include RowReorder on the demo site
I think I figure it out.
The key part is to provide jquery datatable with the property you want to update after reordering.
In may case it was order, so I added the following option.
vm.dtOptions = dtOptionsBuilder.fromFnPromise(function () {
return getDataSource();
})
.withOption('rowReorder', { dataSrc: 'order' });
If you need to handle the 'row-reorder' event take a look at issue #564
@jmelosegui I am using AngularJS 1.5 and I am using angular-datatables but I cannot see plugin for rowReorder. How did you add it?