Table with horizontal scroll and aggregation row - scrollbar placement problem

Hello,
I have table that has horizontal scroll and I have SUM aggregation row that is placed in the bottom of the table.
My issue is that horizontal scroll appears above aggregation row and I want it to appears under aggregation row.
How can I achieve that result?

Best regards Silviya.

Hello!

This is because of Vaadin Table specific layout. In Table only body (rows) can be scrollable and Vaadin correctly handles scroll events (for header and footer too). So we see vertical and horizontal scrollbars.

Ok, then my other question is: Is there way to place aggregation row as last row in table body not in table footer? Visually it does not look good when one of the rows is separate from the rest of the table by scrollbar.

Unfortunately, I don’t see any way to programmatically move the aggregation row. Even changing the CSS, e.g. hiding scrollbar from body and adding scrollbar to the aggregation row, breaks horizontal scrolling for the whole table.