Which component supports 'auto-scrolling'

What I’m trying to do:
I’m populating a column panel with code-generated links to form a highly-controllable multi-select list box that allows me to control ‘toggled’ entries using an event handler (I use foreground/background colors to show ‘clicked’, etc).

Since some of these mutli-select ‘lists’ can get really long, I want them to scroll (auto-scroll?). I’ve tried placing the column panel inside an xy panel to bound it, but this doesn’t seem to work.

Idea? Curious if there is a better component to place these links into to support scrolling

If you create a Role for the ColumnPanel to restrict the height and set overflow: auto does that do what you’re looking for? Something like this:

.anvil-role-scroll {
max-height: 200px;
overflow: auto;
}
2 Likes

Brooke - you are my new, favorite SuperHeroine!!! Works perfectly, and easily.

2 Likes

Great! So glad to be of help! :blush: