No Scrollbars in GWT Flextable

1k views Asked by At

I am creating a flextable and adding cells in it dynamically. Flextable is inside scrollpanel but scrollbars never come vertically. They always come horizontally/

<g:ScrollPanel ui:field='toppanel'>

            </g:ScrollPanel>

Flextable is added in this Scrollpanel dynamically as toppanel.add(stutable);

2

There are 2 answers

2
Patrice De Saint Steban On

I think you must set the height of your flextable.

0
Abhijith Nagaraja On

If you are using RootLayoutPanel then you need to mention scroll panel height in px or em. Don't mention it in percentages. For more info refer the following questions and answers.

GWT ScrollPanel without fixed units, size issue

GWT ScrollPanel not showing the complete content

GWT: DataGrid - set height 100% not rendering properly

gwt ScrollPanel in TabPanel: no vertical scrollbar