Thank you! This has solved it ( cellrenderer.png <http://qooxdoo.678.n2.nabble.com/file/n7586954/cellrenderer.png> ). I created my custom cell renderer based on qx.ui.table.cellrenderer.Conditional by adding "background-color" in the attributes and modifying the some parameters. I could have inherited but I can use Javascript.
It would be nice if the original cellrenderer.Conditional itself be improved to also add "background-color" attribute as in the following: addNumericCondition: function (condition, value1, align, color, bkColor, style, weight, target) { var temp = null; if (qx.lang.Array.contains(this.numericAllowed, condition)) { if (value1 != null) { temp = [condition, align, color, bkColor, style, weight, value1, target]; } } if (temp != null) { this.conditions.push(temp); } else { throw new Error("Condition not recognized or value is null!"); } }, addBetweenCondition: function (condition, value1, value2, align, color, bkColor, style, weight, target) { if (qx.lang.Array.contains(this.betweenAllowed, condition)) { if (value1 != null && value2 != null) { var temp = [condition, align, color, bkColor, style, weight, value1, value2, target]; } } if (temp != null) { this.conditions.push(temp); } else { throw new Error("Condition not recognized or value1/value2 is null!"); } }, addRegex: function (regex, align, color, bkColor, style, weight, target) { if (regex != null) { var temp = ["regex", align, color, bkColor, style, weight, regex, target]; } if (temp != null) { this.conditions.push(temp); } else { throw new Error("regex cannot be null!"); } }, _getCellStyle: function (cellInfo) { var tableModel = cellInfo.table.getTableModel(); var i; var cond_test; var compareValue; var style = { "text-align": this.__defaultTextAlign, "color": this.__defaultColor, "background-color": this.__defaultBkColor, "font-style": this.__defaultFontStyle, "font-weight": this.__defaultFontWeight }; -- View this message in context: http://qooxdoo.678.n2.nabble.com/Set-Background-Color-of-Nth-Table-Column-tp7586948p7586954.html Sent from the qooxdoo mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel