I have a scenario that populates a datatable through an ajax call. Once the table is drawn I use the row-reorder function to loop through the list with the intent to update the new sequence on the server with another ajax call inside the table.on('row-reordered', function (). But the table always get repopulated before the row-reorder function does its job. Doea anyone have a solution on how to handle this? Please see sample test below...
↧