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

Can a usercontrol be used in a GridGroupingControl cell?

I need to create a usercontrol that is the combination of a textbox and a checkbox. The former is not enabled until the latter is checked. How can I add this control to a cell of a GridGroupingControl?

1 Reply

AD Administrator Syncfusion Team August 31, 2004 07:57 AM

You would have to derive a custom cell control in the same manner as grid\samples\celltypes\slider (or Calendar cells or ???). The grid\samples\DataBound\repeatercontrol is a sample that puts a UserControl into a custom celltype. Once you have your derived celltype, you would register it using this.gridGroupingControl1.TableModel.CellModels.Add. Then you would be able to use your new celltype in any ColumnDescriptor Appearance object.

Loader.
Live Chat Icon For mobile
Up arrow icon