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

paging with previous pages values

1 Answer 48 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Loyal User
Top achievements
Rank 1
Loyal User asked on 23 Jan 2014, 01:17 PM
hello,

I have a telerik grid with pagination,

programmatically, i set cells values from ItemDataBound event, one of columns contain accumulated values ,

my problem appears when i navigate to second page , i want to display in first row the total already displayed in previous page,  

how can i achieve that ?

thanks in advance..

1 Answer, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 28 Jan 2014, 08:59 AM
Hello,

The functionality you describe could be achieved. In order to calculate the total for a column in previous pages you could use an approach similar to the one illustrated in this article for calculating grand total. You could handle the DataBound event for RadGrid and calculate the total only for the items in previous pages For reference I am attaching a sample project illustrating the approach.

Regards,
Viktor Tachev
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Grid
Asked by
Loyal User
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Share this question
or