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