Welcome Guest Search | Active Topics | Sign In | Register

Grid columns at runtime Options
Norm
Posted: Friday, December 7, 2007 4:43:46 AM
Rank: Member
Groups: Member

Joined: 11/29/2007
Posts: 25
Is it possible to create grid columns at runtime? The databind method does not seem to generate columns off the datasource, or am I doing something wrong?

I am not able to instantiate a GridColumn object to add this to the Columns collection.

Any Suggestions?
eo_support
Posted: Friday, December 7, 2007 6:55:42 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,083
You can. But you can not instatiate the abstract GridColumn, you will need to instatiate a specific type of grid column, for example, "ButtonColumn", "DateTimeColumn", etc. After all you have to decide which type of column you are going to use before you jump.
Norm
Posted: Sunday, December 9, 2007 8:55:24 PM
Rank: Member
Groups: Member

Joined: 11/29/2007
Posts: 25
d'oh! I should have realized that.

Perhaps you could comment on the first part of the question - i.e getting the grid to generate columns off the datasource. I notice that there is a "autogeneratecolumns" property that seems to have no effect.
eo_support
Posted: Monday, December 10, 2007 5:10:51 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,083
No. That's not supported it. Hopefully we can support it soon.


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.