The DevExpress ASP.NET Tree List (ASPxTreeList) allows you to use vertical and horizontal scrolling to represent more data within a smaller-sized control.
By default, the control height is determined by the number of rows displayed within a page, which is controlled by the SettingsPager.PageSize property. To reduce the height of the ASPxTreeList, display the vertical scrollbar using the Settings.VerticalScrollBarMode property, and specify the height of the scrollable area (in pixels) via the Settings.ScrollableHeight property.
The width of an ASPxTreeList depends on the number of visible columns by default. If there are too many columns within the control, you can enable horizontal scrolling by setting the Settings.HorizontalScrollBarMode property and define the width of the desired scrollable area by using the Width property.
The VerticalScrollBarMode and HorizontalScrollBarMode properties possess the following values.
- Hidden – the scrollbar is hidden.
- Visible – the scrollbar is visible.
- Auto – the scrollbar is automatically shown when the size of the control content exceeds the size of the control itself.