Adding animation to show more rows function

Adding animation to show more rows function

dylanmacdylanmac Posts: 49Questions: 7Answers: 1
edited July 2013 in DataTables 1.9
Hi -

How would I add a slideUp/slideDown animation to showing more/fewer rows in datatables? Below is my function for showing all (I am using a link to do so rather than the dropdown):

showAllRows = function() {
var oSettings = $('#theTable').dataTable().fnSettings();
oSettings._iDisplayLength = '-1';
$('#theTable').dataTable().fnDraw();
};

Chaining slideDown() to fnDraw() doesn't work.

Thanks!
This discussion has been closed.