Programmatic scrolling

Hi,

Is there API to make some component visible in its parent container via scrolling?

Let’s say I have a ScrollBoxLayout with vertical scroll bar and want to scroll to some child element that is not currently visible. What options do I have to do this?

Hi,

You can use the com.haulmont.cuba.gui.components.Component#requestFocus method to scroll to some child element.

Regards,
Gleb