DbAdvGrid and ColorPickerDropDown

Hi,

I have simple dataset where are few color fields (integer). In getEditorType I set aEditor := edColorPickerDropDown.  I can see colors nicely when grid opens.
But that color doesn't map to Dropdown and changing dropDown doesn't change field value.
OnSetEdittext I get color selected Color value as text.
What steps do I have to add to get this working ?

thanks


Is this color RGB encoded in the integer?

From the OnGetEditorProp() event you could set the color picker dropdown selected color.