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

Custom Color palette with CellType = "ColorEdit"

I am using EG 3.3. I use a GridDataBoundGrid control. I set CellType of a column to "ColorEdit" and CellValueType to typeof(Color). I click the cell button and get the tabbed colors. I want to be able to display only the Custom palette and be able to set the colors of this custom palette. I can''t see how to do this like you can in the Editors Package''s ColorUIControl and ColorPickerButton classes.

1 Reply

AD Administrator Syncfusion Team January 12, 2006 12:07 PM UTC

Hi Byron, The ColorUIControl of the GridDropDownColorUICellRenderer is private. To have only the Custom palette in the color edit cell''s drop down ColorUIControl, we have to have our own DropDownColorUICellRenderer. Here is a sample which displays only the Custom palette using a custom cell type. Regards, Calvin.

39539.zip

Loader.
Live Chat Icon For mobile
Up arrow icon