The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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.
ADAdministrator 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.