New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Grid has wrong width if no header #10485
Comments
This bug was introduced with pull request #10384. The code to add select all checkbox does not check if the header exists. So this bug is limited to grids where no default header row exists and the grid is in multi select mode. |
Hello there! It looks like this issue hasn't progressed lately. There are so many issues that we just can't deal them all within a reasonable timeframe. There are a couple of things you could help to get things rolling on this issue (this is an automated message, so expect that some of these are already in use):
Thanks again for your contributions! Even though we haven't been able to get this issue fixed, we hope you to report your findings and enhancement ideas in the future too! |
Bug still exists in Vaadin 8.5.1. |
Hi, please, correct me, if I am wrong, but I don't think this is a bug per se.
The code above produce to me the same visual result regardless of me having header column or not. (I hope its reproduce your use case also) Using setMinimunWidth instead: Have I miss something? Could you share the code you have, if it's not the same as above? |
My code is written above. The problem happens using grid.removeHeaderRow(0), you are not using it on your example. May be your workaround fits, I will try as soon as possible, but you can't said its not a bug. |
Hi, indeed you are correct. When removing the row like you did I was able to reproduce the back. Thanks for clarifications! |
Fix vaadin#10485 If header row is not present, than there is no need to make SelectAllCheckbox visible. Otherwise, NPE is thrown on the client side and widths is not applied properly.
Ensure that HeaderRow is not null in Grid Fixes #10485
Vaadin Framework 8.2.0
A grid without header (by grid.removeHeaderRow(0)) doesn't apply width settings, both on single columns then in whole grid.
The following code works on Vaadin 8.7.1
The text was updated successfully, but these errors were encountered: