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

syncfusion colorpicker button in gridcontrol

Hi,
I want to insert syncfusion colorpickerbutton to one of the grid control column. could you please help me, how to done it?

Regards,
Kumar

1 Reply

JJ Jisha Joy Syncfusion Team October 6, 2009 11:21 AM UTC

Hi Kumar,

This can be achieved by setting CellType of desired cell to ColorEdit. See the code:

gridControl1[rowIndex, colIndex].CellType = "ColorEdit";

See the following sample from our sample browser for more details:

..\\my documents\syncfusion\essentialstudio\{version}\Windows\Grid.Windows\Samples\2.0\Custom Cell Type\Drop-Down Grid Demo\cs

Regards,
Jisha

Loader.
Live Chat Icon For mobile
Up arrow icon