Skip to content
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

Resizing columns causes a gray space next to the grid #10638

Open
Seb-as-tien opened this issue Feb 16, 2018 · 2 comments
Open

Resizing columns causes a gray space next to the grid #10638

Seb-as-tien opened this issue Feb 16, 2018 · 2 comments
Labels
enhancement workaround Workaround provided in ticket comments

Comments

@Seb-as-tien
Copy link

Hi, I have a problem with Grids. My Grid has a width : 100%, which is in a Panel with a width : 50%.
grid_before_panel_resize
I reduce the size of one column I have a grey space on the right of my Grid.
grid_after_column_resize
Then I change the size of my Panel to 100%, my Grid has a width : 100%, OK. But my columns keep the size they had when my Panel had width : 50%.
grid_after_panel_resize
Is there a way to reset the size of all my columns after my event (Panel : 50% -> 100%) ?

@TatuLund
Copy link
Contributor

If you want to have a Grid which autoadjusts itself according widths of the columns when resizing columns, you can use this extension: https://vaadin.com/directory/component/gridscrollextension-add-on

@TatuLund
Copy link
Contributor

More detailed answer is found here: https://vaadin.com/forum/thread/16870253/16870269

@TatuLund TatuLund added the workaround Workaround provided in ticket comments label Nov 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement workaround Workaround provided in ticket comments
Projects
None yet
Development

No branches or pull requests

2 participants