Tab

ASPxCardView.GroupSelectorFillItems Event

Enables you to provide custom items in the group selector.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

Declaration

public event ASPxCardViewGroupSelectorFillItemsEventHandler GroupSelectorFillItems
Public Event GroupSelectorFillItems As ASPxCardViewGroupSelectorFillItemsEventHandler

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"]));
}
<