|
Rank: Member Groups: Member
Joined: 1/10/2011 Posts: 12
|
hello,
when i enter values in a column of a grid, i want textbox on my form to refresh with the total of column values in grid. but it happens only when i click on save/update button. what do i do if i wnat to see the total in textbos once i finish entering values in the grid column and press enter key?
thanks
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
You will need to handle the column's ClientSideEndEdit event. Inside that event you can do your calculation with Javascript and update other cells accordingly.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 1/10/2011 Posts: 12
|
i know ClientSideEndEdit event is to be handled and javascript code gfoes there to update cell value. what i want is on editing/entering cell value and pressing ENTER key, my textbox on form should get reflected with the total of entered values in the grid column. what is to be done to achieve this? where should i write my code?
thanks
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
You still write your code in ClientSideEndEdit. Enter key ends edit mode, which triggers ClientSideEndEdit.
Thanks
|
|