Check documentation for the latest version of dhtmlxSuite setPosition DHTMLX Docs

setPosition

shows dhtmlXColorPicker in the specified position

void setPosition(number x,number y);
xnumberleft position "px"
ynumbertop position "px"

Example

myColorPicker.setPosition(390, 90);

Details

if ColorPicker is attached to an input, you should specify its position as follows:

myColorPicker.setPosition("right");
// or
myColorPicker.setPosition("bottom");
Back to top