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

Custom gridview column issue

3 Answers 84 Views
GridView
This is a migrated thread and some comments may be shown as answers.
KawaUser
Top achievements
Rank 2
KawaUser asked on 01 Nov 2017, 08:02 PM

I've followed an example I found on your site for creating a custom gridview column. 

https://docs.telerik.com/devtools/winforms/gridview/cells/creating-custom-cells

 

 I was able to get it to work and populate, but only by manually editing the designer document of the form in which the grid was located.   My column type, however, does appear on my list of column types but after adding it, and when I try closing the grid design window I get an error.  Can you tell me what I'm doing wrong?  Attached a screen shot showing my columntype in the list, the column added (column1), and the error message I received.   Thanks for any help you can give me.

 

 

3 Answers, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 02 Nov 2017, 08:38 AM
Hello Derrick,

Custom columns should be added in the code behind only, they cannot be used at design time. 

Let me know if you have other questions.

Regards,
Dimitar
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Clara
Top achievements
Rank 1
answered on 10 Nov 2017, 08:57 AM

Hi,

I have a problem regarding the grouping panel, it might sound silly but I don't undertand why for one of the Forms I have in my App the grouping panel is not shown. I have the option "EnableGrouping"=true, AllowDragToGroup=true and showgrouppanel =true... but it still doesn't show the grouping panel in my grid. I don't really understand why! I can group by column but accessing the context menu and selecting "grouping by". Users prefer to just drag and drop the column in the grouping panel.

Can you help me please??

Thanks so much in advance!

0
Dimitar
Telerik team
answered on 10 Nov 2017, 09:35 AM
Hi Clara,

Without taking a look at the project I cannot say why the group panel is not visible. This is why I want to kindly ask you to open a support ticket and attach your project there. This will allow us to investigate the issue and provide you with a solution.

Should you have any other questions do not hesitate to ask.

Regards,
Dimitar
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
GridView
Asked by
KawaUser
Top achievements
Rank 2
Answers by
Dimitar
Telerik team
Clara
Top achievements
Rank 1
Share this question
or