Skip to content

Commit 8187bec

Browse files
dimodiDimo Dimov
andauthored
docs: Document aggregate FieldType (#624)
Co-authored-by: Dimo Dimov <[email protected]>
1 parent abb1555 commit 8187bec

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

components/grid/grouping/aggregates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ You can use aggregates in the following templates:
4747
To enable aggregates:
4848

4949
1. Under the `GridAggregates` tag, define the `GridAggregate` entries to enable the aggregations per field you want to use.
50+
1. If the Grid is bound to a dynamic object, set the `FieldType` attribute of the `GridAggregate` tag (it is of type `Type`).
5051
1. Use the aggregate result in the templates that support it - their `context` is strongly typed and carries the aggregate values in the respective fields.
5152
1. Set the grid's `Groupable` property to `true`.
5253
* If you will be using only `FooterTemplate`s - grouping is not required.
5354
1. Group the grid to see the effect on group-specific templates
5455

5556

56-
5757
## Example
5858

5959
>caption Use Aggregates in the Telerik Blazor Grid

components/treelist/aggregates.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ To enable aggregates:
3131

3232
1. Set the grid's `Groupable` property to `true`.
3333
1. Under the `GridAggregates` tag, define the `GridAggregate` entries to enable the aggregations per field you want to use.
34+
1. If the TreeList is bound to a dynamic object, set the `FieldType` attribute of the `GridAggregate` tag (it is of type `Type`).
3435
1. Use the aggregate result in the templates that support it - their `context` is strongly typed and carries the aggregate values in the respective fields.
3536
1. Group the grid to see the effect
3637

0 commit comments

Comments
 (0)