mirror of
https://github.com/koalyptus/TableFilter.git
synced 2026-03-16 15:45:45 +01:00
More defensive with tableLayout
This commit is contained in:
parent
990ef45e45
commit
edcd166cd8
15 changed files with 30 additions and 25 deletions
|
|
@ -230,6 +230,11 @@ export class GridLayout extends Feature {
|
|||
tbl.removeChild(thead[0]);
|
||||
}
|
||||
|
||||
// ensure table layout is always set even if already set in css
|
||||
// definitions, potentially with custom css class this could be lost
|
||||
this.headTbl.style.tableLayout = 'fixed';
|
||||
tbl.style.tableLayout = 'fixed';
|
||||
|
||||
//content table without headers needs col widths to be reset
|
||||
tf.setColWidths(this.headTbl);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue