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. Image for the cookie policy date
close icon

GGC & UserControi in ComboBox

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.

1 Reply

AD Administrator Syncfusion Team November 21, 2006 06:58 AM UTC

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 \4.4.0.37\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.
http://www.syncfusion.com/Support/user/uploads/GGCCustomCellType_77c83dfc.zip

Best Regards,
Haneef

Loader.
Live Chat Icon For mobile
Up arrow icon