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

Replacement drop-down ColorEdit

What would be the best way to approach creating a replacement for the default "ColorEdit" cell type with one that behaves better? For example, I'd like to mimic the way colors are shown and edited in the property grid and do it the same way in the grid. That is, colors should display a color swatch on the left and to the right a text version of the color. In addition, I'd like to change the standard UI color picker with one that implements a color wheel.

1 Reply

AD Administrator Syncfusion Team July 18, 2003 03:29 PM UTC

> What would be the best way to approach creating a replacement for the default "ColorEdit" cell type with one that behaves better? > > For example, I'd like to mimic the way colors are shown and edited in the property grid and do it the same way in the grid. That is, colors should display a color swatch on the left and to the right a text version of the color. In addition, I'd like to change the standard UI color picker with one that implements a color wheel. > Here is a link to a sample that ships with the product. Syncfusion\Essential Suite\Grid\Samples\In Depth\DropdownGrid This sample shows how to drop a second grid from a button in a grid cell. You could follow a similar pattern to drop some custom color dialog. You could draw the color swatch using a CellDrawn event.

Loader.
Live Chat Icon For mobile
Up arrow icon