When developing a widget, I found out that I have to wait for the appear
event before I can access the underlying dom elements. When I try to access
this element before that, it is not yet defined. So my code looks like this:
this.addListenerOnce("appear", () => {
var container = this.
Hi Peter,
you can force a queue flush by calling
qx.ui.core.queue.Manager.flush()
Regards,
Daniel
On 25.08.2014 09:13, Peter Dekkers wrote:
> When developing a widget, I found out that I have to wait for the appear
> event before I can access the underlying dom elements. When I try to
> access
That worked for me, thanks.
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/Table-Hide-column-in-columnmenu-tp7586046p7586094.html
Sent from the qooxdoo mailing list archive at Nabble.com.
--
Slashdo
Thanks for the suggestion. Sounded what I needed but when I tried it,
didn't have the effect I hoped for.
The following still gives an exception (in the constructor of a Widget):
qx.ui.core.queue.Manager.flush();
var container = this.getContentElement().getDomElement();
container.style.lineHeight