Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

Grid - Add column containing sum

$
0
0
Hi Bob,

Updating the total on the fly will be a difficult task, especially when you have so many columns. Nevertheless, you could wrap the total value in some element that you could easily get reference to in the context of the TR element of the row. Then, you will have to handle the save event of the grid, determine the value of which column was changed and calculate once again the total. Once you have the new total you can update the content of the element holding the total value.

You can refer to the following dojo example for a simple scenario:
Hope this helps.


Regards,
Konstantin Dikov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 

Viewing all articles
Browse latest Browse all 94857

Latest Images

Trending Articles



Latest Images