Back to Devexpress

ASPxGridViewSettings.MergedGroupSeparator Property

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

latest2.3 KB
Original Source

ASPxGridViewSettings.MergedGroupSeparator Property

Specifies the separator that the grid displays between grouped columns within merged group rows.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue("; ")]
public string MergedGroupSeparator { get; set; }
vb
<DefaultValue("; ")>
Public Property MergedGroupSeparator As String

Property Value

TypeDefaultDescription
String"; "

The separator.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to MergedGroupSeparator
ASPxGridView

.Settings .MergedGroupSeparator

| | GridViewProperties |

.Settings .MergedGroupSeparator

|

Remarks

Specify the MergedGroupSeparator property to customize the separator that the grid displays between grouped columns within merged group rows.

aspx
<dx:ASPxGridView ID="Grid" runat="server" AutoGenerateColumns="false">
    <Columns>
        <dx:GridViewDataColumn FieldName="Country" GroupIndex="0" />
        <dx:GridViewDataColumn FieldName="City" GroupIndex="1" />
        <%--...--%>
    </Columns>
    <Settings ShowGroupPanel="true" MergedGroupSeparator=" | "/>
    <SettingsBehavior MergeGroupsMode="Always" AutoExpandAllGroups="true" />
    <GroupSummary>
        <dx:ASPxSummaryItem SummaryType="Count" FieldName="City" />
    </GroupSummary>
</dx:ASPxGridView>

See Also

ASPxGridViewSettings Class

ASPxGridViewSettings Members

DevExpress.Web Namespace