Welcome Guest Search | Active Topics | Sign In | Register

Query : Grid Dynamic Columns Options
Manjiri
Posted: Wednesday, January 12, 2011 3:49:46 AM
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
eo_support
Posted: Wednesday, January 12, 2011 8:25:23 AM
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!
Manjiri
Posted: Wednesday, January 12, 2011 11:06:13 PM
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.
eo_support
Posted: Thursday, January 13, 2011 8:24:53 AM
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!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.