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

[Solved] DataGridTextColumn

2 Answers 172 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
reema
Top achievements
Rank 1
reema asked on 18 Apr 2009, 09:03 AM
hi,

is there any thing equevelant to "DataGridTextColumn"  in telerik RadGridView .....
 
thx

 

2 Answers, 1 is accepted

Sort by
0
Andrew
Top achievements
Rank 1
answered on 19 Apr 2009, 12:14 PM
Hi Reema,

I had a similar problem not long ago where I wanted specifically integers

In your code behind, try:

SomeDataGrid.Columns.Add(new GridViewDataColumn() { DataType = (typeof(String)), ...}); 


My use was identical, except it was "int" instead of "String"


Hope this helps
0
reema
Top achievements
Rank 1
answered on 20 Apr 2009, 09:24 AM

thx  Andrew ,
suppose I have the below code which is working with microsoft datagrid... how to use the same with radgridview?


DataGridTextColumn
col = new DataGridTextColumn();

 

 

col.Binding=

new System.Windows.Data.Binding(CreatePath(2));

thx in advance....

 

Tags
GridView
Asked by
reema
Top achievements
Rank 1
Answers by
Andrew
Top achievements
Rank 1
reema
Top achievements
Rank 1
Share this question
or