This is a migrated thread and some comments may be shown as answers.

Column Footer Sum function for TimeSpan

2 Answers 228 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 1
Brian asked on 18 Jan 2011, 03:20 PM
i have columns that are TimeSpan data and need to SUM them into the footer.  I have used the example with the latest release and still no success.  Further, it gives me an "Object null reference" when trying to export the grid witht he column footer aggregate function in place.

Any example on how to SUM TimeSpan would be great.

2 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 18 Jan 2011, 05:11 PM
Hi Brian,

 
Actually it is better to create your own custom aggregate function that will allow you to sum TimeSpan objects as it is shown in the following forum thread "Timespan Sum Aggregation Function".
Please try to implement this approach and let me know how it fits in your custom scenario.

Kind regards,
Vanya Pavlova
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
Brian
Top achievements
Rank 1
answered on 18 Jan 2011, 05:19 PM
Ok, ill try that...   Thanks
Tags
GridView
Asked by
Brian
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Brian
Top achievements
Rank 1
Share this question
or