FixedHeader latest version
FixedHeader latest version
elpadrino
Posts: 20Questions: 1Answers: 0
Hi everyone,
I am trying to use "FixedHeader 2.1.2" and datatable (DataTables 1.10.2) but there are some things i don't understood :
- it's impossible to sort column (asc or desc) when fixedHeader is initialized
- when fixedHeader is not initialized, sorting column is slow
I don't use "Datatables debugger" because it's sensible data.
Declaration at the top of the page :
var oTable = $('#prod').dataTable({
"bProcessing": true,
"sPaginationType": "full_numbers",
"sDom": 'CTW<"clear">lfrtip',
"iDisplayLength": 100,
"asStripeClasses": [''],
"oColumnFilterWidgets": {
"aiExclude": [13, 14, 15, 16, 17, 18]
},
"oTableTools": {
"sSwfPath": "{{ asset('bundles/TableTools-2.2.0/swf/copy_csv_xls_pdf.swf') }}",
"aButtons": [{
"sExtends": "xls",
"sButtonText": "Exporter sous Excel",
"oSelectorOpts": {
"filter": "applied"
}
}, {
"sExtends": "print",
"sButtonText": "Imprimer le planning"
}
]
},
"oLanguage": {
"sUrl": "{{ asset('bundles/previsionnel/media/langage/dataTables.french.txt') }}"
}
});
var fixHeader = new $.fn.dataTable.FixedHeader(oTable,{
"offsetTop": 40
});
For information :
jQuery v1.11.1
jQuery Migrate - v1.2.1
jQuery UI - v1.11.0
This discussion has been closed.
Replies
Any help is welcome ?
Any help is welcome
Any help is welcom