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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Custom Color palette with CellType = "ColorEdit"

Thread ID:





39539 Jan 10,2006 10:02 PM UTC Jan 12,2006 12:07 PM UTC WinForms 1
Tags: GridControl
Byron Tate
Asked On January 10, 2006 10:02 PM UTC

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.

Administrator [Syncfusion]
Replied On 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.



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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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