Bug 39080: Adjust the fixed header after we added the column filters
If a column contains a dropdown list (for libraries for instance), the
width of the column will be modified, but DT's fixed header need to be
adjusted.
Test plan:
One example where this problem can be observed is the "holds to pull"
table: "Title" is followed by "Libraries".
Test without and with the patch, and confirm that the display/offset is fixed.
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 8e808e97b3)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
53df24cb17
commit
f5ca9d88c6
|
|
@ -942,6 +942,7 @@ function _dt_add_filters(table_node, table_dt, filters_options = {}) {
|
|||
}
|
||||
} );
|
||||
_dt_add_delay_filters(table_dt, table_node);
|
||||
table_dt.fixedHeader.adjust();
|
||||
}
|
||||
|
||||
function _dt_add_delay(table_dt, table_node) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue