Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Duplicate empty header occur in datatable when enabling scrollX or scrollY when using Google Chrome

tableElement.DataTable({
    "scrollX": true,
    "initComplete": function(settings, json) {
        $('.dataTables_scrollBody thead tr').css({visibility:'collapse'});
    }
    //other datatable configurations...  
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Duplicate #empty #header #occur #datatable #enabling #scrollX #scrollY #Google #Chrome
ADD COMMENT
Topic
Name
9+3 =