Skip to main content

How to limit the height of a div with inner scrolling


Is it possible to contain a List Records control in a Container and bind its height?

If I set the List Records ListCount = 500, then I get 500 records displayed. I want the List Records to act like a list box with a specified height and with a scroll bar on the right side.


Use CSS to limit the height and set the overflow property to scroll.

For example, wrap the List Record in a container and create a style like the following:

    height: 300px;
    overflow-y: scroll;
  • Was this article helpful?