|
Rank: Member Groups: Member
Joined: 1/10/2011 Posts: 12
|
i created a grid with dynamic columns. the no. of columns is not known. they depend upon the database data. e.g. based on subjects, i will get no. of columns of sub-subjects for that particular subject. if i get 3 sub-subjects, then i have to enter 3 marks for 3 sub-subjects. when i enter these marks, my total column in grid should get updated based on these 3 marks values. i tried it doing using ClientSideAfterEditItem but my event doesn't get fired. i even tried with grid runmode as server and OnItemCommand. what m i doing wrong? which event should i use? pls help me.
thanks
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
ClientSideAfterEditItem is only fired when FullRowMode is true. When FullRowMode is false, the column's ClientSideEndEdit will be fired.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 1/10/2011 Posts: 12
|
thanks for ur quick response. i set the FullRowMode to true and the event is getting fired. now i m facing another problem. when i enter marks1 and marks2, my totla col is getting updated, but RollNo and StudentName cols are becoming 0 and blank respectively. what m i missing? where m i wrong. pls help me. thanks once again.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
This would have to do with your code logic and we don't troubleshoot user code. Please try to abstract your question to a very specific question that are directly related to the Grid.
Thanks!
|
|