0
votes

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

2 Answers

1
votes

I think you must set the height of your flextable.

0
votes

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