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

How to programatically add the grid column?

2 Answers 37 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Huynh Chau
Top achievements
Rank 1
Huynh Chau asked on 28 Mar 2011, 12:43 PM
Hi,

Please see attachment file. I want to show some column that header I can define (such as Name column) and some column that header information will be gotten from database (such as date columns). How can I do this with RadGridView?

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 28 Mar 2011, 12:45 PM
Hi Huynh Chau,

 You can create your grid columns programmatically and assign desired Header for each column. 

Regards,
Vlad
the Telerik team
0
Huynh Chau
Top achievements
Rank 1
answered on 28 Mar 2011, 12:54 PM
Hi Vlad,

Sorry, but I don't know where to start. Can you post an example code or some guidelines?
Thanks.
Tags
GridView
Asked by
Huynh Chau
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Huynh Chau
Top achievements
Rank 1
Share this question
or