Skip to main content
A newer version of this page is available. .

Horizontal Scrolling

ASPxGridView‘s default width depends on the number of visible columns. If there are too many columns within the grid, use the ASPxGridSettings.HorizontalScrollBarMode property to enable horizontal scroll, and specify the grid’s Width property to define the scrollable area’s width.

 

ASPxGrigView - Horizontal Scrolling

Note that when scrolling is enabled, width dimension properties (such as a grid’s ASPxWebControl.Width or its columns’ WebColumnBase.Width) should be specified. See the following topic to learn more: ASPxGridView Fixed Table Layout Specifics (Scrolling and Column Resizing).

When horizontal scroll is enabled, you can fix columns to the left edge. See the following topic to learn more: Fixed Columns.

Note

When you enable horizontal scrollbars (the ASPxGridSettings.HorizontalScrollBarMode option) on an ASPxGridView control, it disables the paging gesture functionality, so the ASPxGridBase.EnablePagingGestures property is not in effect.

Important

When you set the ASPxGridSettings.VerticalScrollBarMode or ASPxGridSettings.HorizontalScrollBarMode property to ScrollBarMode.Auto, ASPxGridView enables the scroll feature and renders the grid as a table with a fixed layout.