DHTMLX Colorpicker : Changing the position of colorbox and e

Hi,

I want to change the position of the colorbox from left to right of the textbox.

I want to change the output of the color selected i.e I don’t want the ‘#’ attached to the RGB combination.



How to achieve it ?

I want to change the position of the colorbox from left to right of the textbox.
dhtmlxcombo.js, linkTo method ( line 1003 )
    self.setPosition(z[1]+s[0]+obj1.offsetWidth,y);
the first parameter is the horizontal position

>> I want to change the output of the color selected i.e I don’t want the ‘#’ attached to the RGB combination.
dhtmlxcombo.js, linkTo method ( line 1008 )
    if (obj3)  obj3.value=color;
the color - color value as RGB with # attached, you can change it here in any necessary way.

I still didn’t understand how to change the position of colorbox, it will be nice if you can show me with some example. You can see in the attachment as colorBox is in left, I want it to the right of TextBox input.


Please check attached sample

1214817213.zip (45.6 KB)

You are not getting what I mean to say. You are giving me solution for whole colorpicker object, but I want to move the colorbox where color selected is shown after clicking on Select button in colorpicker. Please help.

This is part of design, the relative position of elements described at
    dhtmlxcolorpicker.js, dhtmlXColorPickerInput function, lines 29-40
You can modify existing layout with any custom one there.