Skip to main content

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

When you enable horizontal scrolling, you should specify the width of the Grid View and each of its columns. If you do not specify the width of a column, the Grid View sets the column’s width to 100 pixels. Refer to the following topic for more information: 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.