1
0
Fork 0
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:
koalyptus 2017-06-27 15:28:16 +10:00
commit edcd166cd8
15 changed files with 30 additions and 25 deletions

View file

@ -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);