Commit 43401d2
committed
Restore resizer div height and thus the overall column resizing
We have to remove the static div elements in the HTML template because
datatables will include all of them in a span for the header cell
content, overwriting the original table structure, and must instead
perform our own overwriting afterwards. The div elements are added to
each table header cell if they are not already present to add them
just once for all table redraws.
If the div is instead wrapped in a span by datatables this will lead
to its dynamically calculated height to be added to ever increasing
table header cell height and degrade the table headers. The current
change achieves the same structure we had before but with multiple
spans (for content and for sorting arrows) now with datatables 2.
Signed-off-by: Plamen Dimitrov <plamen.dimitrov@intra2net.com>1 parent 93b19ce commit 43401d2
File tree
2 files changed
+6
-10
lines changed- optional_plugins/html/avocado_result_html/templates
2 files changed
+6
-10
lines changedLines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
82 | 86 | | |
83 | 87 | | |
84 | 88 | | |
| |||
Lines changed: 0 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | 67 | | |
69 | 68 | | |
70 | 69 | | |
71 | | - | |
72 | 70 | | |
73 | 71 | | |
74 | 72 | | |
75 | | - | |
76 | 73 | | |
77 | 74 | | |
78 | 75 | | |
79 | | - | |
80 | 76 | | |
81 | 77 | | |
82 | 78 | | |
83 | | - | |
84 | 79 | | |
85 | 80 | | |
86 | 81 | | |
87 | | - | |
88 | 82 | | |
89 | 83 | | |
90 | 84 | | |
91 | | - | |
92 | 85 | | |
93 | 86 | | |
94 | 87 | | |
95 | | - | |
96 | 88 | | |
97 | 89 | | |
98 | 90 | | |
| |||
0 commit comments