rowReorder without ordering
rowReorder without ordering
goli510
Posts: 1Questions: 1Answers: 0
I wont use datatable with rowreorder drag & drop but disable order colum (with click in header table)
$(document).ready(function() {
$('#example').DataTable( {
rowReorder: true,
"ordering": false
} );
} );
but not run... What should I do to make it work ?
Thks !
This discussion has been closed.
Answers
Thats in the examples for the rowreorder extension, here
Correct - ordering in a DataTable is fundamentally based on the data order, not the DOM order. You must keep ordering enabled to use RowReorder - but you can hide the column and disable reordering on other columns as you need.
Allan