TreeListOptionsColumnFilter.PopupExcelFilterGrouping Property

Gets or sets data field (column) names separated by the comma, semicolon, space or tab character by which filter values are grouped in the column's filter menu.

Namespace: DevExpress.XtraTreeList.Columns

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

[DefaultValue("")]
[XtraSerializableProperty]
public virtual string PopupExcelFilterGrouping { get; set; }
<DefaultValue("")>
<XtraSerializableProperty>
Public Overridable Property PopupExcelFilterGrouping As String

Property Value

Type Default Description
String

String.Empty

A String value specifying data field names separated by the comma, semicolon, space or tab character by which filter values are grouped in the column's filter menu.

Property Paths

You can access this nested property as listed below:

Object Type Path to PopupExcelFilterGrouping
TreeListColumn
.OptionsFilter.PopupExcelFilterGrouping

Remarks

Use the PopupExcelFilterGrouping property to group filter values in the current column's filter menu by another column. The code snippet below groups tasks by dedicated employees.


colTask.OptionsFilter.PopupExcelFilterGrouping = "Employee;Task";

As a result, filter values are displayed in a tree structure.

TreeList_FilterGroup_4

In the case of a Code First data source, you can annotate data fields with the FilterGroup attribute using the same syntax in the attribute parameter.


[Utils.Filtering.FilterGroup("Employee;Task")]
public string Task { get; set; }
See Also