The DevExpress ASP.NET Grid View (ASPxGridView) allows you to display more information in a smaller grid using vertical and horizontal scroll bars.
By default, grid 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 using the Settings.VerticalScrollBarMode property, and specify the height of the scrollable area (in pixels) via the Settings.VerticalScrollableHeight property.
By default, grid width depends on the number of visible columns. If there are too many columns within the grid, you can enable horizontal scrolling via the Settings.HorizontalScrollBarMode property, and define the width of the scrollable area using the grid's Width property.
The VerticalScrollBarMode and HorizontalScrollBarMode properties have the following values.
-
Hidden – the scrollbar is hidden.
-
Visible – the scrollbar is visible.
-
Auto – the scrollbar is automatically shown when the size of the content within the control exceeds the size of the control itself.