Welcome Guest Search | Active Topics | Sign In | Register

can we add dynamic columns to the grid view? Options
roja
Posted: Friday, January 28, 2011 11:18:49 PM
Rank: Newbie
Groups: Member

Joined: 1/28/2011
Posts: 4
Can we add dynamic columns to the grid view if so can i have an example for it.
eo_support
Posted: Sunday, January 30, 2011 5:22:05 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

You would do something like this:

Code: C#
//Create a new column. There are different column types. 
//Choose one fit your need
EO.Web.StaticColum column = new EO.Web.StaticColumn();

//Set column properties
.....

//Add it to the columns collection
Grid1.Columns.Add(column);


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.