The DataGrid exposes an Aggregates API through the
DataGridColumn.AggregateDescriptors property where you can add PropertyAggregateDescriptors or DelegateAggregateDescriptors.
The PropertyAggregateDescriptor enables you to utilize a set of available functions, while the DelegateAggregateDescriptor allows you to implement a custom function through the
The Telerik UI for Xamarin DataGrid Aggregates can be placed in the
ColumnFooter as well as the
ShowColumnFooters property is used to visualize the ColumnFooters of the DataGrid. However it is also used to display the Aggregates for the columns.
The Aggregates are displayed only if there is no FooterText set.
When Grouping is applied you can display the aggregate results for the group's data in the
In order to visualize the footer the
ShowGroupFooters property needs to be set to True. The Group footer is divided into cells which are aligned with the respective columns and show the aggregate results for the particular column.
bool) property— indicates whetehr the group aggregates will be displayed in the group header.
The aggregate results can also be visualized in the Group header next to the title of the group.
In order to show the Aggregates in the Header of the group the
ShowGroupHeaderAggregates needs to be set to True.