How to sort after submit
How to sort after submit
ajmwegman
Posts: 2Questions: 1Answers: 0
Hi, Im using datatables in my project, For my table sorting am I using an inputfield to give priority to menu items.
My javascript looks like this:
$('#save_sort').click( function() {
var order = t.$('input').serialize();
$.ajax({
url: "bin/sort_cat.php",
type: "GET",
data: order,
success: function(data) {
$('#display').fadeIn("slow").html(data).delay(1000).fadeOut("slow");
}
});
});
Ordering works, but after saving i want the table to "reload" the content displayed on screen.
Is this possible to do this with client side datatables.
Best regards,
Michael
This discussion has been closed.