Open flefebure opened 4 years ago
Hi, Tested with vaadin-grid-flow:4.1.3 and this works fine for me:
Hi Tomi, Thanks for your quick answer. I've made a little example on github to reproduce it https://github.com/flefebure/vaadin-test-grid The key is that the grid has a second header row
HeaderRow secondHeaderRow = grid.appendHeaderRow();
Ok that seems quite broken indeed. Thanks for the clarification. Looks like the frozen
property of a vaadin-grid-column-group
isn't correctly synced to the child column or vice-versa.
Hello Tomi, we are still annoyed with this little bug. Can Vaadin try to cover it ? (for what it's worth, we have pro licenses)
Hi, and sorry for the delay. Took another look and it seems the bug is still there even in V23.
Looks like unfreezing a child column is intentionally ignored by a parent column group.
https://user-images.githubusercontent.com/1222264/163960285-48622f76-4910-4fdf-b02f-892c54f7acd0.mp4
The issue should be fixed, but as a workaround, you could manually unfreeze the parent column group also:
// Unfreeze the columns
grid.getColumnByKey("column1").setFrozen(false);
grid.getColumnByKey("column2").setFrozen(false);
// Manually unfreeze the column groups
grid.getColumnByKey("column1").getElement().getParent().setProperty("frozen", false);
grid.getColumnByKey("column2").getElement().getParent().setProperty("frozen", false);
Thanks Tomi for this cool workaround ..Should have digged by myself Franck
Hi, vaadin-grid-flow:4.1.3 Columns that have been frozen then unfrozen can't be reordered by drag'n drop.