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

Column names when using DataTable as ItemsSource

1 Answer 53 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Murat Ozgur
Top achievements
Rank 1
Murat Ozgur asked on 28 Sep 2010, 01:56 PM
Hi,

I am testing RadGridView control for our needs. I bind a DataTable instance to the control but the column names of the control are empty. AutoGenerateColumns property is set to true. I want to set the column names of the DataTable instance to the grid control.

Thank you.

1 Answer, 1 is accepted

Sort by
0
Yordanka
Telerik team
answered on 29 Sep 2010, 07:57 AM
Hello Murat Ozgur,

You may take a look at this demo example.

Sincerely yours,
Yordanka
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
Murat Ozgur
Top achievements
Rank 1
Answers by
Yordanka
Telerik team
Share this question
or