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

[Solved] Aggregate column function is not updating until I leave the row.

5 Answers 153 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Kevin Happe
Top achievements
Rank 1
Kevin Happe asked on 24 Aug 2010, 09:28 PM
I have a Gridview that has Sum fuctions on the columns.   The footer total only updates when the user leaves the row where the change was made. 

The behavior I expect is, when a user leaves a cell, the aggregate function should update the footer total for the column just left.

Is there a way to change this behavior, where the column total is updated when the user leaves the cell and not the row?

Thanks
Kevin

5 Answers, 1 is accepted

Sort by
0
MiddleTommy
Top achievements
Rank 1
answered on 24 Aug 2010, 10:57 PM
This is a current bug they are working on. I have had this problem too.
you have to do a Rebind on the grid to update the aggregates and sorting.
I sure hope they get this fixed fast. In my opinion this is a big bug that is core to an editable data grid.
0
Maya
Telerik team
answered on 25 Aug 2010, 08:54 AM
Hi TWT,

Indeed, It is a known bug and we are working on its fix. You can track the progress of the PITS Issue by the ID: 2970 or you can follow up this link
 

Regards,
Maya
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Kevin Happe
Top achievements
Rank 1
answered on 25 Aug 2010, 04:06 PM
TWT,
You were able to get around the bug? Can you give a few more details?

Thanks
Kevin
0
MiddleTommy
Top achievements
Rank 1
answered on 26 Aug 2010, 12:01 AM
on the grids row end edit event I call the Rebind method of the grid to rebind to the data and it calculates the aggregates
0
Accepted
Pavel Pavlov
Telerik team
answered on 26 Aug 2010, 06:30 AM
Hi ,

You can also call the CalculateAggregates method of RadGridView (e.g. in a CellEditEnded event handler)


All the best,
Pavel Pavlov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Kevin Happe
Top achievements
Rank 1
Answers by
MiddleTommy
Top achievements
Rank 1
Maya
Telerik team
Kevin Happe
Top achievements
Rank 1
Pavel Pavlov
Telerik team
Share this question
or