Back to Devexpress

ASPxGridViewAdaptivitySettings.AdaptiveColumnPosition Property

aspnet-devexpress-dot-web-dot-aspxgridviewadaptivitysettings-cad43fd4.md

latest2.9 KB
Original Source

ASPxGridViewAdaptivitySettings.AdaptiveColumnPosition Property

Specifies the position of the adaptive column.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(GridViewAdaptiveColumnPosition.Right)]
public GridViewAdaptiveColumnPosition AdaptiveColumnPosition { get; set; }
vb
<DefaultValue(GridViewAdaptiveColumnPosition.Right)>
Public Property AdaptiveColumnPosition As GridViewAdaptiveColumnPosition

Property Value

TypeDefaultDescription
GridViewAdaptiveColumnPositionRight

One of the GridViewAdaptiveColumnPosition enumeration values.

|

Available values:

NameDescription
None

The adaptive column is not displayed in the grid.

| | Left |

The adaptive column is displayed to the left of the grid columns.

| | Right |

The adaptive column is displayed to the right of the grid columns.

|

Property Paths

You can access this nested property as listed below:

LibraryObject TypePath to AdaptiveColumnPosition
ASP.NET MVC ExtensionsGridViewSettings

.SettingsAdaptivity .AdaptiveColumnPosition

| | ASP.NET Web Forms Controls | ASPxGridView |

.SettingsAdaptivity .AdaptiveColumnPosition

|

Remarks

When the ASPxGridViewAdaptivitySettings.AdaptivityMode property is set to HideDataCells , ASPxGridView automatically resizes or hides columns when the browser window is resized. When a grid has hidden columns, an adaptive column is displayed allowing end-users to expand a detail row, containing the hidden data.

Use the AdaptiveColumnPosition property to specify the position of the adaptive column.

See Also

AdaptivityMode

Adaptivity

ASPxGridViewAdaptivitySettings Class

ASPxGridViewAdaptivitySettings Members

DevExpress.Web Namespace