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

[Solved] Batch edit and sum of columns

2 Answers 40 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.
Anu
Top achievements
Rank 1
Anu asked on 03 Jul 2012, 12:53 PM
I am working with the MVC3 batch editing grid and i'm new to telerik controls. I am trying to achieve the following:
I have 2 columns in the grid: Name and Salary. Total of 20 records, 10 per page.
I have a div outside the Grid on my page which holds the total of Salary(total of the 20 records)
I have a div outside the Grid on my page which holds the total of Salary(total of the 20 records)
I can edit multiple rows in the grid and edit the "Salary" column, each of cell will have that red coloured icon which tells me that the cell value has changed.
I want to display the sum in this div as and when I edit the salary cells (before I actually hit the "Save" button) something similar to the excel sheet which will have a summed up column. All this on the client side only.
Can this be achieved. Any pointers on how to get this behaviour will be very helpful.

Thanks!

2 Answers, 1 is accepted

Sort by
0
Anu
Top achievements
Rank 1
answered on 05 Jul 2012, 03:04 PM
Any pointers if this feature could be achieved?
0
Anu
Top achievements
Rank 1
answered on 10 Jul 2012, 12:49 PM
I solved this by using the . OnLoad and .OnSave client side events.
Tags
Grid
Asked by
Anu
Top achievements
Rank 1
Answers by
Anu
Top achievements
Rank 1
Share this question
or