In a qooxdoo table I was able to add custom tooltip texts to each table header cell. But after that I'm getting an error message when I'm reordering the table columns. The annoying thing is, that I can't found out a method to reproduce the situation. I have to play a while with the columns when the message appears.
*The error message is:* 054275 qx.ui.core.queue.Layout: Error in the 'Layout' queue:TypeError: Cannot call method 'setStyles' of null TypeError: Cannot call method 'setStyles' of null qx.ui.core.Widget:995:17,qx.ui.layout.Canvas:315:15,qx.ui.core.Widget:1019:32,qx.ui.core.queue.Layout:103:18,qx.ui.core.queue.Manager:160:41,qx.ui.core.queue.Manager:223:9,qx.ui.core.queue.Manager:98:12,qx.ui.core.queue.Manager:69:16,qx.bom.AnimationFrame:182:18 *A playground example:* http://tinyurl.com/pzjmpon <http://tinyurl.com/pzjmpon> *Short code snippet to insert to a freshly generated qooxdoo Application.js:* var labels = [ "column1", "column2", "column3", "column4", "column5", "column6", "column7", "column8" ]; var tableModel = new qx.ui.table.model.Simple(); tableModel.setColumns(labels); var table = new qx.ui.table.Table(tableModel); var columnModel = table.getTableColumnModel(); for (var i = 0, l = labels.length; i < l; i++) { columnModel.setHeaderCellRenderer(i, new qx.ui.table.headerrenderer.Default()); columnModel.getHeaderCellRenderer(i).setToolTip("tooltip for " + labels[i]); } var doc = this.getRoot(); doc.add( table, { edge : 0 } ); <http://qooxdoo.678.n2.nabble.com/file/n7585434/K%C3%A9perny%C5%91fot%C3%B3_2014-03-11_-_20.32.22.png> <http://qooxdoo.678.n2.nabble.com/file/n7585434/K%C3%A9perny%C5%91fot%C3%B3_2014-03-11_-_20.59.33.png> -- View this message in context: http://qooxdoo.678.n2.nabble.com/Error-on-table-column-reordering-tp7585434.html Sent from the qooxdoo mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel