问题
We are dynamically hiding/showing the data table column (using datatable plugin as well Fixed Column.js plugin)
After hiding the columns,it will increase the table header height in IE8 browser only.
This is code we are using to hide. "index" is column index.
//$datatable is datatable object
if(some condition)
{
$datatable.fnSetColumnVis(index, false);
}
else {
$datatable.fnSetColumnVis(index, true);
}
This issue seems to be FixedColumns.js(2.0.3 version). we are using FixedColumns in our data table.
how to maintain the same table header height for all cases after showing /hiding the columns in data table
来源:https://stackoverflow.com/questions/22841231/data-table-header-height-increased-after-showing-hiding-the-columns-in-ie8-brow