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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GGC & UserControi in ComboBox

Thread ID:

Created:

Updated:

Platform:

Replies:

52000 Nov 20,2006 08:46 AM UTC Nov 21,2006 06:58 AM UTC WinForms 1
loading
Tags: GridControl
Boby
Asked On November 20, 2006 08:46 AM UTC

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 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

CONFIRMATION

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.

Warning Icon 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.Close Icon

;