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

create new rad gridviewcolumn

7 Answers 116 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Naser
Top achievements
Rank 1
Naser asked on 14 Apr 2012, 06:12 PM
Hi.
How can I create my own gridviewcolumn and add use it in radgridview?

7 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 19 Apr 2012, 06:44 AM
Hello Naser,

Thank you for writing.

Please refer to the following help article, which demonstrates how to create a custom cell and use that cell in a custom column: http://www.telerik.com/help/winforms/gridview-cells-custom-cells.html.

I hope that you find this information helpful. Let us know if you have any other questions.
 
Greetings,
Stefan
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
0
Naser
Top achievements
Rank 1
answered on 20 Apr 2012, 02:06 PM
Hi.
Thanks. But I want to create a custom grid column that haven't any radelement. I want to be able create my own radelement too.

Thanks.
0
Richard Slade
Top achievements
Rank 2
answered on 20 Apr 2012, 02:46 PM
Hi Nasar, 

It will need to have some sort of RadElement. What do you want to do exactly? 
Richard
0
Naser
Top achievements
Rank 1
answered on 20 Apr 2012, 04:13 PM
I created a custom DatePicker control (Farsi Date Picker) for use in win forms , and now I want to be able use it in a radgridview.
Is it possible?

0
Richard Slade
Top achievements
Rank 2
answered on 20 Apr 2012, 04:29 PM
Hi, 

I'm not familiar with this control. You could look at the possibility of hosting it inside a RadHostItem which will host any standard non-Telerik control, though as it's not a Telerik product, I can't say if this will work or not.

Hope that helps
Richard
0
Naser
Top achievements
Rank 1
answered on 20 Apr 2012, 05:36 PM
I have a custom combobox that inherits from "Control" class and now I want to create a radgridviewcolumn that display my custom control as Editor control. In other words how can I use a System.Windows.Forms.DataGridViewColumn in radgridview?
0
Accepted
Stefan
Telerik team
answered on 21 Apr 2012, 03:02 PM
Hi Naser,

In order to use some Control as editor in RadGridView, you need to create a custom editor, as described here, and host your Control in RadHostItem, just like Richard mentioned. 

I hope you find this information useful.
 
All the best,
Stefan
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Tags
GridView
Asked by
Naser
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Naser
Top achievements
Rank 1
Richard Slade
Top achievements
Rank 2
Share this question
or