how to show lenghtmenu at topright corner?
how to show lenghtmenu at topright corner?
SSuriya
Posts: 1Questions: 1Answers: 0
$(document).ready(function() {
$('#example').DataTable( {
destroy: true,
lengthMenu: [[10, 25, 50, -1], [10, 25, 50, "All"]],
dom: 'Blfrtip',
buttons: [
'copy',
'csv',
'excel',
'pdf',
{
extend: 'print',
text: 'Print all (not just selected)',
exportOptions: {
modifier: {
selected: null
}
}
}
],
select: true
} );
} );
This discussion has been closed.
Answers
should do it: http://live.datatables.net/yijisigo/1/edit
Allan