data table header height increased after showing /

2019-08-03 10:19发布

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

0条回答
登录 后发表回答