bPaginate disables ADD and REMOVE -buttons

bPaginate disables ADD and REMOVE -buttons

TornadoTornado Posts: 2Questions: 0Answers: 0
edited December 2011 in Bug reports
Hi Allen,

you made a great plug-in. I implemented the datatables already in several pages, with different settings, but in one case I have a problem:
My goal is to have a datatable, with the ADD and REMOVE -buttons, but without the selection about the amount of records to be shown on one page of the table.

My definition how I like the datatable to be is:
$(document).ready(function() {
$('#valueListEdit').dataTable({
"aaSorting": [[ 0, "asc" ]],
"bJQueryUI": true,
"bProcessing": true,
"iDisplayLength": 100,
"bPaginate": false
}).makeEditable({
sUpdateURL: "valuelistedit_UpdateData.php?module=<?php print $param2; ?>",
sAddURL: "valuelistedit_AddData.php?fieldid=<?php print $psField->getID(); ?>",
sDeleteURL: "valuelistedit_DeleteData.php?module=<?php print $param2; ?>",
aoColumns: [{},{},{}],
oAddNewRowButtonOptions: {label: "Add...", icons: { primary: 'ui-icon-plus' }},
oDeleteRowButtonOptions: {label: "Remove", icons: { primary: 'ui-icon-trash' }},
oAddNewRowFormOptions: {title: 'Add a new value', show: "blind", hide: "explode", modal: true},
sAddDeleteToolbarSelector: ".dataTables_length"
});
});

If I remove the line '"bPaginate": false' then the datatable is displayed correctly with the ADD and REMOVE -buttons, but also with the combo box to make the selection about the amount of items per page.
datatables version: 1.8.2
This discussion has been closed.