Back to Devexpress

ASPxGridView.IsAllowGroup(GridViewColumn) Method

aspnet-devexpress-dot-web-dot-aspxgridview-dot-isallowgroup-x28-devexpress-dot-web-dot-gridviewcolumn-x29.md

latest2.2 KB
Original Source

ASPxGridView.IsAllowGroup(GridViewColumn) Method

Indicates whether end-users can drag the specified column’s header to the group panel to group data against the column’s values.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public bool IsAllowGroup(
    GridViewColumn column
)
vb
Public Function IsAllowGroup(
    column As GridViewColumn
) As Boolean

Parameters

NameTypeDescription
columnGridViewColumn

A GridViewColumn object that represents the data column within the ASPxGridView.

|

Returns

TypeDescription
Boolean

true if end-users are allowed to drag the column’s header to the group panel; otherwise, false.

|

Remarks

Data grouping requires data sorting to be performed. End-users can group data when the column’s values can be sorted. The IsAllowGroup method returns true if the ASPxGridBehaviorSettings.AllowSort and ASPxGridViewBehaviorSettings.AllowGroup properties are set to true.

See Also

IsAllowSort(GridViewColumn)

AllowSort

AllowGroup

Grid View

ASPxGridView Class

ASPxGridView Members

DevExpress.Web Namespace