Check documentation for the latest version of dhtmlxSuite onSaveColor DHTMLX Docs

onSaveColor

fires on saving a custom color in the memory area

void onSaveColor(string color){ ... };

Parameters

colorstringthe selected color written in hex color format (#a4bed4)

Example

myCP.attachEvent("onSaveColor", function(color){
    // your code here
});

Back to top