Search code examples
smartgwtsmartclient

Scrolling a DetailViewer in SmartClient


Using SmartClient:

I have a VLayout composed of a DetailViewer (that monitors selection changes in a ListGrid) and a HLayout (that holds some buttons).

Now, when the user selects rows in the ListGrid, the DetailViewer "grows" and creates a Scrollbar.

In consequence the bottom HLayout is also contained in the Scrollbar. I would like to avoid this. My intention is to have the bottom HLayout always visible (i.e. the Scrollbar would contain the DetailViewer only).

How can I do this?

(Also posted here.)


Solution

  • Set overflow:auto on the DetailViewer.