create new rad gridviewcolumn

8 posts, 1 answers
  1. Naser
    Naser avatar
    18 posts
    Member since:
    Oct 2012

    Posted 14 Apr 2012 Link to this post

    Hi.
    How can I create my own gridviewcolumn and add use it in radgridview?
  2. Stefan
    Admin
    Stefan avatar
    2890 posts

    Posted 19 Apr 2012 Link to this post

    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 >>
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Naser
    Naser avatar
    18 posts
    Member since:
    Oct 2012

    Posted 20 Apr 2012 Link to this post

    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.
  5. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 20 Apr 2012 Link to this post

    Hi Nasar, 

    It will need to have some sort of RadElement. What do you want to do exactly? 
    Richard
  6. Naser
    Naser avatar
    18 posts
    Member since:
    Oct 2012

    Posted 20 Apr 2012 Link to this post

    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?

  7. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 20 Apr 2012 Link to this post

    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
  8. Naser
    Naser avatar
    18 posts
    Member since:
    Oct 2012

    Posted 20 Apr 2012 Link to this post

    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?
  9. Answer
    Stefan
    Admin
    Stefan avatar
    2890 posts

    Posted 21 Apr 2012 Link to this post

    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 >>
Back to Top
UI for WinForms is Visual Studio 2017 Ready