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

Binding DataTable to the GridView problem

2 Answers 106 Views
GridView
This is a migrated thread and some comments may be shown as answers.
xu jundong
Top achievements
Rank 1
xu jundong asked on 09 Mar 2010, 02:10 AM
Hi, Telerik!

I have got a problem, and wish your help, thank you!

I try to binding a DataTable with some columns to a radGridview control (2009 Q3), but while the DataTable is empty, the radGridView control shows no column, the column header is not visible.

I want to show the colunm header always, is there any way to do this?

Thank you!

2 Answers, 1 is accepted

Sort by
0
Accepted
Stefan Dobrev
Telerik team
answered on 11 Mar 2010, 11:08 AM
Hi xu,

Currently RadGridView cannot auto-generate its columns when is it is bound to an empty DataSet. We will address this problem in our next latest internal build.

Greetings,
Stefan Dobrev
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.
0
xu jundong
Top achievements
Rank 1
answered on 12 Mar 2010, 04:11 AM

Thank you, Stefan Dobrev!
Tags
GridView
Asked by
xu jundong
Top achievements
Rank 1
Answers by
Stefan Dobrev
Telerik team
xu jundong
Top achievements
Rank 1
Share this question
or