HI ,
I am using Vaadin 8.1.0
I am trying to add Vaadin Grid under Tabsheet. Initialy grid showing columns with full data.
And when i shifted from one tab to another tab my Grid columns are shrinking in width.
Below is the code to create Grid and Tabsheet.
mGrid = new Grid<>();
mGrid.setWidth(“100%”);
mGrid.setHeightByRows(mPageLength);
mGrid.setColumnReorderingAllowed(true);
mGrid.setSelectionMode(SelectionMode.SINGLE);
TabSheet tsb=new TabSheet();
tsb.addTab(mGrid,“Tab1”);
tsb.addTab(new VerticalLayout(),“Tab2”);
tsb.setWidth(“100%”);
Here are the screens attached to show the effect after tabchage.
Regards
Nagaraj RC