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

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -