The ASPxGridView allows for vertical and horizontal scrolling to be used to represent more data within a smaller-sized grid.
By default, the grid's height is determined by the number of rows displayed within a page, which is controlled by the SettingsPager.PageSize property. To reduce the grid's height, display the vertical scrollbar by using the Settings.VerticalScrollBarMode property, and specify the height of the scrollable area (in pixels) via the Settings.VerticalScrollableHeight property.
A grid's width depends on the number of visible columns by default. If there are too many columns within the grid, you can enable horizontal scrolling via the Settings.HorizontalScrollBarMode property and define the desired scrollable area width by using the grid's 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.