Hi, i cant change "records per page" and search input is not at the right place...

Hi, i cant change "records per page" and search input is not at the right place...

peperonipeperoni Posts: 1Questions: 0Answers: 0
edited December 2013 in General
Hi,

i have a Problem wirth my datatable project, i got records via ajax, all work fine, pagination, filtering and so on...
but the dropdown to change the records per page is disabled...

Here ist the output from firebug, i cant see a "disabvle" class or somthing like that, what is wrong?


[code]





10




25




50




100




Einträge anzeigen





[/code]

[code]
$('#contacts').dataTable({
"bAutoWidth": true,
"bProcessing": true, // Zeigt Processing... bei ner Anfrage während sie verarbeitet wird an.
"bServerSide": true,
"sAjaxSource": 'ajax.php?load=contacts',
"bSort": false,
"sPaginationType": "bootstrap",
"oLanguage": {
"sUrl": "languages/datatables.de.txt"
}
});
jQuery('#contacts .dataTables_filter input').addClass("form-control input-medium"); // modify table search input
jQuery('#contacts .dataTables_length select').addClass("form-control input-xsmall"); // modify table per page dropdown
[/code]

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    I don't see anything wrong with your code there. Can you please link to a test page so we can debug it: http://datatables.net/forums/discussion/12899/post-test-cases-when-asking-for-help-please-read

    Allan
This discussion has been closed.