ASPxGridBase.ScrollToVisibleIndexOnClient Property
Scrolls the view to the specified data item (row, card or record).
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Description |
---|---|
Int32 | An integer value that identifies a data item by its visible index. |
Remarks
Find control-specific information (for ASPxGridView, ASPxCardView or ASPxVerticalGrid) in the sections below.
ASPxGridView
The number of rows displayed in a page is specified by the ASPxGridViewPagerSettings.PageSize property. However, you can reduce the grid’s height and enable vertical scrolling. To do this, enable the scroll bar by using the ASPxGridSettings.VerticalScrollBarMode property and specify the height, using the ASPxGridSettings.VerticalScrollableHeight property.
The ScrollToVisibleIndexOnClient method allows you to scroll the grid to make the required row visible on screen. This can also be done using a JavaScript function: ASPxClientGridView.MakeRowVisible.
To make a row displayed on another page visible, use the ASPxGridView.MakeRowVisible server-side method.
Related Links
ASPxCardView
The maximum number of cards that can be displayed within a page, can be accessed by the CardViewFlowLayoutSettings.ItemsPerPage property, provided that the ASPxCardViewSettings.LayoutMode property is set to Flow. To do this in the Table layout mode, use the CardViewTableLayoutSettings.ColumnCount and the CardViewTableLayoutSettings.RowsPerPage properties.
However, you can reduce the grid’s height and enable vertical scrolling. To do this, enable the scroll bar by using the ASPxGridSettings.VerticalScrollBarMode property and specify the height, using the ASPxGridSettings.VerticalScrollableHeight property.
The ScrollToVisibleIndexOnClient method allows you to scroll the grid to make the required row visible on screen.
To make a row displayed on another page visible, use the ASPxCardView.MakeCardVisible server-side method.
Related Links
ASPxVerticalGrid
The number of rows displayed in a page is specified by the ASPxVerticalGridPagerSettings.PageSize property. However, you can reduce the grid’s height and enable vertical scrolling. To do this, enable the scroll bar by using the ASPxGridSettings.VerticalScrollBarMode property and specify the height, using the ASPxGridSettings.VerticalScrollableHeight property.
The ScrollToVisibleIndexOnClient method allows you to scroll the grid to make the required row visible on screen.
To make a row displayed on another page visible, use the ASPxVerticalGrid.MakeRecordVisible server-side method.