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:
Jonathan Druart 2025-02-11 10:25:50 +01:00 committed by Fridolin Somers
parent 53df24cb17
commit f5ca9d88c6
No known key found for this signature in database
GPG Key ID: 9A8E73E2A8B96537
1 changed files with 1 additions and 0 deletions

View File

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