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

ASPxGridSettings.VerticalScrollableHeight Property

Gets or sets the scrollable area’s height.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.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.

Property Paths

You can access this nested property as listed below:

Show 16 property paths
Library Object Type Path to VerticalScrollableHeight
ASP.NET Bootstrap Controls BootstrapCardView
.Settings.VerticalScrollableHeight
BootstrapGridView
.Settings.VerticalScrollableHeight
ASP.NET Web Forms Controls ASPxCardView
.Settings.VerticalScrollableHeight
ASPxGridView
.Settings.VerticalScrollableHeight
ASPxVerticalGrid
.Settings.VerticalScrollableHeight
GridViewProperties
.Settings.VerticalScrollableHeight
CardViewSettings
.Settings.VerticalScrollableHeight
CardViewSettings<CardType>
.Settings.VerticalScrollableHeight
GridViewSettings
.Settings.VerticalScrollableHeight
GridViewSettings<RowType>
.Settings.VerticalScrollableHeight
MVCxCardView
.Settings.VerticalScrollableHeight
MVCxGridView
.Settings.VerticalScrollableHeight
MVCxGridViewProperties
.Settings.VerticalScrollableHeight
MVCxVerticalGrid
.Settings.VerticalScrollableHeight
VerticalGridSettings
.Settings.VerticalScrollableHeight
VerticalGridSettings<ColumnType>
.Settings.VerticalScrollableHeight

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

WebForms:

<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()

Online Demos

Online Example

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

See Also