javascript - Jquery datatable creating extra header on chrome browser when using scrollX property -
('#instant-quotes').datatable({ "data": dataset, "scrolly": yscroll, /*"initcomplete": function(settings, json) { $('#instant-quotes thead tr:first').remove(); },*/ "dom": "lfrti", "scrollcollapse": false, "bsortcellstop": false, "info": false, "processing": true, "blengthchange": false, "searching": false, "pagelength": 7, "order": [ 0, "desc" ]... })
when use datatable scrollx property append blank <thead>
<tr>
.i dont why occurs doing this,however removed using jquery
$('#instant-quotes thead tr:first').remove()
but dont think solution because when sort or redraw table blank <thead>
again appears, when change layout (coz responsive) appears again, kindly suggest better , optimal solution.
Comments
Post a Comment