Skip to main content
Tab

ASPxGridSettings.VerticalScrollableHeight Property

Gets or sets the scrollable area’s height.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

[DefaultValue(200)]
public int VerticalScrollableHeight { get; set; }

Property Value

Type Default Description
Int32 200

Specifies the scrollable area’s height, in pixels.

Remarks

The VerticalScrollableHeight property allows you to specify the scrollable area’s height. Use the ASPxGridSettings.VerticalScrollBarMode property to set the scrollbar’s display mode.

Concept

Examples

Web Forms:

<dx:ASPxGridView ID="Grid" runat="server" AutoGenerateColumns="False" Width="100%" DataSourceID="OrdersDataSource" KeyFieldName="OrderID">
    <Columns>
    ...
    </Columns>
    <Settings VerticalScrollableHeight="150" VerticalScrollBarMode="Visible" />
    ...
</dx:ASPxGridView>

MVC:

@Html.DevExpress().GridView(settings => {
    settings.Name = "gridView";
    ...
    settings.Settings.VerticalScrollBarMode = ScrollBarMode.Visible;
    settings.Settings.VerticalScrollableHeight = 150;
    ...
}).Bind(Model).GetHtml()

GridSettings - VerticalScrollableHeight

Online Demos

Online Example

GridView - How to use the dxScrollView widget instead of default browser scrollbars

See Also