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>
This commit is contained in:
Jonathan Druart 2025-02-11 10:25:50 +01:00 committed by Katrin Fischer
parent 16f528e4b4
commit 8e808e97b3
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 1 additions and 0 deletions

View File

@ -1056,6 +1056,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) {