table cross page count

1 Answer 26 Views
Report Viewer - ASP.NET
Lin
Top achievements
Rank 1
Lin asked on 15 Oct 2024, 06:20 AM | edited on 15 Oct 2024, 06:24 AM
I use a table to display my data, there maybe 2-3 pages, and I want to achieve the effect of cross-page calculations.

For example 
The first page has 10 rows
Then the total number of the first page is 10
The second page has 20 rows
Then the total number for the second page is 30

How should I design it? I want to display this total on PageFooter

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 17 Oct 2024, 01:30 PM

Hello Lin,

Thank you for the provided information!

To achieve the accumulating total number across the pages, you would need to implement a custom IAggregateFunction since this is not supported out of the box.

A similar scenario is covered in the Form an Overall Total from a Group Total Expression - Telerik Reporting KB article, please have a look at it and try using a similar approach.

Please let me know if you have any further questions.

Regards,
Dimitar
Progress Telerik

Stay tuned by visiting our roadmap and feedback portal pages, enjoy a smooth take-off with our Getting Started resources, or visit the free self-paced technical training at https://learn.telerik.com/.
Tags
Report Viewer - ASP.NET
Asked by
Lin
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or