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

Tweaking for ColorEdit Cells

Hello, I have a cell in my grid with the CellStyle set to "ColorEdit". The text on the ellipsis button for the color picker drop-down is "@". Is there a way I can change that?

2 Replies

Administrator March 25, 2004 04:22 PM UTC

In Form_Load after setting up your grid, you can use code like this to change it. GridDropDownColorUICellRenderer cr = (GridDropDownColorUICellRenderer)this.gridDataBoundGrid1.CellRenderers["ColorEdit"]; cr.DropDownButton.Text = "z";

RN Richard Nguyen March 25, 2004 04:33 PM UTC

Just what I need, thanks!
Loader.
Live Chat Icon For mobile
Up arrow icon