[qooxdoo-devel] Asynchronous behavior

2014-08-25 Thread Peter Dekkers
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.

Re: [qooxdoo-devel] Asynchronous behavior

2014-08-25 Thread Daniel Wagner
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

Re: [qooxdoo-devel] Table: Hide column in columnmenu?

2014-08-25 Thread chrisch
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

Re: [qooxdoo-devel] Asynchronous behavior

2014-08-25 Thread Peter Dekkers
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