Skip to main content

GridViewCustomBindingGetGroupingInfoArgs.Data Property

Gets or sets a list that contains grouping information (the group value - key, and the number of data rows within the group - count) on group rows.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public IEnumerable<GridViewGroupInfo> Data { get; set; }

Property Value

Type Description
IEnumerable<GridViewGroupInfo>

A list of GridViewGroupInfo objects containing grouping information about group rows.

Remarks

The Data property is the main property that must be set when implementing a method delegate of the GridViewCustomBindingGetGroupingInfoHandler type. Assign the Data property with a list that contains grouping information (the group value - key, and the number of data rows within the group - count) on group rows relating to the processed grouping operation performed on a column specified by the GridViewCustomBindingGetGroupingInfoArgs.FieldName property.

Refer to Implementation of Typed Method Delegates to learn more.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Data property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also