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

RadGridView

1 Answer 72 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Bhavin
Top achievements
Rank 1
Bhavin asked on 21 Sep 2009, 03:04 PM
I am using WPF RadGridview and have some aggregate functions like sum
 <telerik:GridViewDataColumn Header="OWNED" ToolTip="Owned" HeaderTextAlignment="Center"  DataMemberBinding="{Binding OWNED}" IsEnabled="False"  IsReadOnly="False" >
                                    <telerik:GridViewDataColumn.AggregateFunctions>
                                        <telerik:SumFunction Caption="Owned: "  SourceField="OWNED" />
                                    </telerik:GridViewDataColumn.AggregateFunctions>
                                </telerik:GridViewDataColumn>
It works good if I am tabing out of this cell.But it doesn't update SUM(without tabing) when I am click on some other control other than grid immediately after editing OWNED field value on grid.I have tried RadGridView_lostFocus which doesn't do any good.Please provide me the solution for this ASAP as i am mid of implementation.



1 Answer, 1 is accepted

Sort by
0
Stefan Dobrev
Telerik team
answered on 24 Sep 2009, 07:14 AM
Hi bhavin patel,

You can call the CalculateAggregates() methods of RadGridView. It will recalculate all aggregates and display the updates values.

Greetings,
Stefan Dobrev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
Bhavin
Top achievements
Rank 1
Answers by
Stefan Dobrev
Telerik team
Share this question
or