Skip to main content
A newer version of this page is available. .
Tab

ASPxCardView.GroupSelectorFillItems Event

Enables you to provide custom items in the group selector.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

public event ASPxCardViewGroupSelectorFillItemsEventHandler GroupSelectorFillItems

Event Data

The GroupSelectorFillItems event's data class is ASPxCardViewGroupSelectorFillItemsEventArgs. The following properties provide information specific to this event:

Property Description
Items Gets a collection of CardViewGroupSelectorItem items.

Remarks

The group selector is a combo box editor that provides a set of card view columns by which you can group cards. The GroupSelectorFillItems event is raised before the group selector is invoked and its default items are created. This enables you to provide your custom items to the group selector.

ASPxCardView-Grouping-GroupBy

protected void ASPxCardView1_GroupSelectorFillItems(object source, ASPxCardViewGroupSelectorFillItemsEventArgs e) {
    e.Items.Add(new CardViewGroupSelectorItem("Group by two columns", ASPxCardView1.Columns["Group1"], ASPxCardView1.Columns["Group2"]));
}
See Also