display number of elements in links instead of combobox
display number of elements in links instead of combobox
fredhunter
Posts: 5Questions: 0Answers: 0
hi, my question is this.
i have for example 300 elements in a table, what i want to do its display something like this in the footer:
show 20 50 60 all
instead of a combobox selecting the 20, 50 or 60 elements in the table.
i´v been searching but i cant find anything.....some plugin pheraps?
thanks a lot for your help!!!!
i have for example 300 elements in a table, what i want to do its display something like this in the footer:
show 20 50 60 all
instead of a combobox selecting the 20, 50 or 60 elements in the table.
i´v been searching but i cant find anything.....some plugin pheraps?
thanks a lot for your help!!!!
This discussion has been closed.
Replies
You might have to write your own, but it's not that hard to do
Allan
any help would really appreciated.
thanks
$(document).ready(function() {
$('#transfer').dataTable( {
"aaSorting": [[ 2, "asc" ]],
"sPaginationType": "full_numbers",
"bPaginate": true,
"bLengthChange":true,
"bFilter": true,
"bSort": true,
"bInfo": false,
"bAutoWidth": true } );
} );
oTable = $('#transfer').dataTable();
oTable.fnLengthChange(oTable, 3);
}
and i just copied the plugin into my .js
how can i call fnLengthChange if y click some link in the table?
am i doing something wrong?