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...
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]
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]
This discussion has been closed.
Replies
Allan