Rank: Member Groups: Member
Joined: 1/10/2011 Posts: 12
|
i have a query regarding EO Grid. i understand that: 1) ClientSideEndEdit is used to perform any action after editing a cell in grid when FullRowMode=false. 2) ItemChanged & ItemCommand events are used to perform actions when Item(Row) is updated
my query is that my grid column names and no. .of columns are not fixed. they are generated dynamically. e.g. say subject science can be bifurcated as written,. practical & oral. this is not known to me. so how do i fire an event to update total column based on my sub-subject columns.
suppose my grid is as follows:
roll no. Student name written practical oral total grade 1 abc 30 20 10 60 A
now suppose if i change written marks to 40 and press enter which indicates end of edit, how do i update my total column to 70 from 60? i cant use ClientSideEndEdit as i dont have any columns at design time. ItemChanged & ItemCommand events get fired only when i press update button. how do i get total column updated as soon as user presses enter to end edit mode?
awaiting ur reply.
thanks in advance,
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
I am not sure if I understand your question correctly. The Grid is just a Grid with rows and cells. You can use the client side API to update a cell value. But if you even you don't know which column/cell should be used to calucate another cell value, how would the Grid know?
Thanks!
|