Hi, I find a workaround anyway, I don't like that much race conditions, so I used a synchronous call to get columns names and ids, into the constructor. Like this, I'm sure the table is in a stable state when constructed. I'm now using this->debug, have to loose some bad habits ;-)
I am JSON encoding my answer from backend, and I thought I had to use eval to convert it back to a JS understandable format...sic, I'll have to have a look at that :-) Thanks a lot ! Yan. Le 26 mai 2010 à 16:19, panyasan a écrit : > > Hi Yan, > > might it hae something to do with all the alert() statements you're using? > Is it the same behavior if you use this.debug() instead, which doesn't block > the javascript thread? > > Other than that, why are your eval'ing your result from the rpc service > method? you can simple return an indexed array and use it as the column > data. > > C. > -- > View this message in context: > http://qooxdoo.678.n2.nabble.com/Remote-table-columns-from-backend-problem-tp5097604p5103771.html > Sent from the qooxdoo mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------------ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
