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

[Solved] How do I add a calculated column and have it updated automatically? (ajax inline editing)

2 Answers 152 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.
Raymond
Top achievements
Rank 1
Raymond asked on 20 Jul 2011, 07:37 PM
In my grid, I have a Quantity and Unit Price column.
When doing ajax inline editing, I'd like the "Total" column to be updated automatically.

If I was using jQuery, I'd look for the element and do the math myself...
so the question is:
a) do I use javascript myself (and if so, how do I locate the elements in the grid), or
b) can I do this within the Telerik Grid? how?

And finally, I'm wanting this feature in the Batch Editing...
so obviously, I could update the totals after the hit "Save Changes"
but would still prefer to see the totals updated as they type, or as they lose focus on a cell in the grid row.

Thank you!

2 Answers, 1 is accepted

Sort by
0
Andrew Blum
Top achievements
Rank 1
answered on 16 Sep 2011, 06:32 PM
I have the same question.  Can this please be answered!!!

This can be done in the AJAX Grid with Expression attribute.
0
jay
Top achievements
Rank 1
answered on 27 Sep 2011, 01:29 PM
I also need to do a calculated totals column.  Has anyone figured this out yet?
Tags
Grid
Asked by
Raymond
Top achievements
Rank 1
Answers by
Andrew Blum
Top achievements
Rank 1
jay
Top achievements
Rank 1
Share this question
or