Skip to content

Commit

Permalink
DataGrid in a browser: after hiding a column, the header of the remai…
Browse files Browse the repository at this point in the history
…ning one does not match the content #927
  • Loading branch information
Flaurite committed Sep 7, 2022
1 parent 0417bd4 commit fc8740c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion jmix-bom/bom.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ publishing {

group = 'io.jmix.bom'

def vaadinVersion = '8.14.1-1-jmix'
def vaadinVersion = '8.14.1-2-jmix'
def vaadinFlowVersion = '23.1.0'

javaPlatform {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -502,5 +502,13 @@ protected class JmixAutoColumnWidthsRecalculator extends AutoColumnWidthsRecalcu
protected double getFreeSpace() {
return new ComputedStyle(getEscalator().getElement()).getWidthIncludingBorderPadding();
}

@Override
protected void afterApplyingFixedWidthColumns() {
RowContainer header = getEscalator().getHeader();
if (header.getRowCount() > 0) {
header.refreshRows(0, header.getRowCount());
}
}
}
}

0 comments on commit fc8740c

Please sign in to comment.