This is a migrated thread and some comments may be shown as answers.

Changing the column type of the auto generated columns

1 Answer 50 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Norbert John
Top achievements
Rank 1
Norbert John asked on 12 May 2010, 07:33 AM
Hi,
I am creating grid columns dynamically by the XMLDataprovider approach found in the telerik demo. Is there any way to change the column type of autogenerated column, say to combobox column. Right now all the autogenerated columns are GridViewDataColumn. Please help.

Thanks and Regards
Norbert John

1 Answer, 1 is accepted

Sort by
0
Accepted
Vlad
Telerik team
answered on 12 May 2010, 09:19 AM
Hello Norbert,

You can use AutoGeneratingColumn event to achieve this. You can assign desired column to e.Column in the event handler.

Greetings,
Vlad
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
GridView
Asked by
Norbert John
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or