attach

attaches a DHTMLX component to a dhtmlxWindow

void attach(string|object component,object config);

Parameters

componentstring|objectthe name or object of a component
configobjectoptional, the configuration settings of a component

Example

dhxWindow.attach("richtext",{mode: "document"});
dhxWindow.show();

See also
Back to top