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

[Solved] Using Aggregates with Editing?

3 Answers 117 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
jay
Top achievements
Rank 1
jay asked on 28 Sep 2011, 01:12 PM
Is it possible to use an aggregate such as the SUM on a column that is editable by the user?  Is there an example of this somewhere to look at?  A simple test here seems to indicate that this is indeed not possible, but maybe I am missing something.

I am using InCell editing in case that matters.

3 Answers, 1 is accepted

Sort by
0
Maciel
Top achievements
Rank 1
answered on 23 Apr 2012, 01:52 PM
Anyone to response this question?

I'm trying to use this situation.  The editable mode is InCell, i have a column for percentual and is very important for the user to know the total before to save.

Thanks.
0
Daniel
Telerik team
answered on 26 Apr 2012, 02:01 PM
Hello,

This is not supported. The changes should be saved in order for the new value to be shown. Could be implemented by using the OnSave client-side event to recalculate aggregate and update the text.


All the best,
Daniel
the Telerik team
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 Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now.
0
German
Top achievements
Rank 1
answered on 23 May 2012, 04:38 PM
I'm having the same problem. What would be the api (or command) to recalculate the aggregate via Javascript?
Thanks
Tags
Grid
Asked by
jay
Top achievements
Rank 1
Answers by
Maciel
Top achievements
Rank 1
Daniel
Telerik team
German
Top achievements
Rank 1
Share this question
or