We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

GGC & UserControi in ComboBox

Thread ID:





52000 Nov 20,2006 03:46 AM Nov 21,2006 01:58 AM Windows Forms 1
Tags: GridControl
Asked On November 20, 2006 03:46 AM

Hello All.
I use GridGroupingControl and I want to show my UserControl in combobox cell.
I sow some examble for others grids, but not for GridGroupingControl.
Please help me with example GridGroupingControl with UserControl in comboBox.

Administrator [Syncfusion]
Replied On November 21, 2006 01:58 AM

Hi Boby,

A custom CellType can be created with a model class and a renderer class. The model class creates the renderer class and the renderer class handles the UI requirements of the cell. This sample in Syncfusion\Essential Studio \\windows \Grid.Windows\ Samples \CustomCellTypes\ DropDownFormAndUserControlSample can be refered.

After creating the custom celltype, it has to be registered through the CellModels.Add function

this.gridGroupingControl1.TableModel.CellModels.Add("DropDownUserCell", new DropDownUserCellModel(this.gridGroupingControl1.TableModel,new DropDownUser()));

Then CellType "DropDownUserCell" can be used.

Please refer to attached sample for more details.

Best Regards,


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.