3 Answers, 1 is accepted
0
Hello invivo,
To achieve your goal you need to modify <telerik:RadGridView.HierarchyChildTemplate> as shown in the following code snippet:
Sample application is attached. Having other questions - do not hesitate to contact us again.
Sincerely yours,
Anastasia
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
To achieve your goal you need to modify <telerik:RadGridView.HierarchyChildTemplate> as shown in the following code snippet:
<telerik:RadGridView.HierarchyChildTemplate> |
<DataTemplate> |
<telerik:GridViewDataControl> |
<telerik:GridViewDataControl.GroupDescriptions> |
<data:RadGroupDescription PropertyName="Number"> |
<data:RadGroupDescription.AggregateFunctions> |
<data:CountFunction FunctionName="TotalNumbers" SourceField="Number" |
Caption="Total numbers:" /> |
<data:FirstFunction FunctionName="FirsNumber" SourceField="Number" |
Caption="First number:" /> |
</data:RadGroupDescription.AggregateFunctions> |
</data:RadGroupDescription> |
</telerik:GridViewDataControl.GroupDescriptions> |
</telerik:GridViewDataControl> |
</DataTemplate> |
</telerik:RadGridView.HierarchyChildTemplate> |
Sample application is attached. Having other questions - do not hesitate to contact us again.
Sincerely yours,
Anastasia
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
invivo
Top achievements
Rank 1
answered on 03 Apr 2009, 01:48 PM
Thanks a lot for your answer.
But my project looks like your example FirstLook (GridView).
is it possible to have aggregate function for my child grid but without recreate a RadGroupDescription ?
thanks
Steph
0
Hi invivo,
Currently the aggregate funcations are part of your group description class and cannot be declared separately.
All the best,
Milan
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Currently the aggregate funcations are part of your group description class and cannot be declared separately.
All the best,
Milan
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.