Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82388

order + reorder not working

$
0
0

Greetings,

I have a simple table with the RowReorder extension.

    const tableObj = $('#seats');
    const table = tableObj.dataTable({
        paging: false,
        searching: false,
        info: false,
        rowReorder: {
            selector: 'i.sortable-handle',
        },
    });

When I click a column header to order the table, it does so, but then if I drag a row to a new order it fails and the row 'floats' back to its original order/location. There are no errors in the console.

How can I enable both order and reorder at the same time?


Viewing all articles
Browse latest Browse all 82388

Trending Articles