data table header height increased after showing /hiding the columns in IE8 browser

天涯浪子 提交于 2019-12-11 09:24:46

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!