Hi Alex, thank you for your reply.
So you are saying to override _createContainerElement of qx.ui.core.Widget
and _createDomElement of qx.html.Element.
>From what I've seen _createContainerElement returns an qx.html.Element and
_createDomElement returns a DOM Element using qx.bom.Element.create.
>From what I've understood from your suggestion I've done this. I've
overridden the _createContainerElement of the widget that is loading the
Highchart object. So now it returns a highcharts.bom.Element instead, that
overrides _createDomElement like this:
_createDomElement : function() {
return qx.bom.Element.create("div", { id : "hc" });
}
Where hc is the div id that highcharts should use.
This didn't solve the problem, highcharts cannot find the div. I don't know
if I've understood what you suggested, guess not.
-----
La coincidenza non ha madre.
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/The-correct-use-of-getDomElement-tp6993052p6994453.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel