Back to Devexpress

ASPxGridViewSettings.ShowGroupedColumns Property

aspnet-devexpress-dot-web-dot-aspxgridviewsettings-de6596b2.md

latest2.1 KB
Original Source

ASPxGridViewSettings.ShowGroupedColumns Property

Specifies whether the grid displays grouped columns.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(false)]
public bool ShowGroupedColumns { get; set; }
vb
<DefaultValue(False)>
Public Property ShowGroupedColumns As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true to display the grouped columns; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to ShowGroupedColumns
ASPxGridView

.Settings .ShowGroupedColumns

| | GridViewProperties |

.Settings .ShowGroupedColumns

|

Remarks

When the grid groups its data by the column values, it hides grouped columns. To display them, set the ShowGroupedColumns property to true.

For more information on grouping in the grid, refer to the following topic: ASPxGridView - Group Data.

aspx
<dx:ASPxGridView ID="grid" runat="server">
    <%--...--%>
    <Settings ShowGroupPanel="true" ShowGroupedColumns="true"/>
</dx:ASPxGridView>

See Also

ASPxGridViewSettings Class

ASPxGridViewSettings Members

DevExpress.Web Namespace