The problem is that i don't want to change this color permanently, but depending on some action. For example, when i press a button i want the "table-row-background-selected" to be "grey" and when i press another button, i want it to be red.
Helder Magalhães wrote: > > > Ina Munteanu wrote: >> >> I am using a table<qx.ui.table.Table> with a simple >> model<qx.ui.table.model.Simple>. I need to change the background color >> for the selected row, that is blue by default. Can you tell me how can i >> do this? >> > This can be accomplished by changing "table-row-background-selected" > property of the current theme (for "Windows classic", this will be > "qx.theme.classic.color.Windows"). > > Two side notes, though: > 1. Changing usual system colors may interfere with usability, so some > care must exist to assure users don't get confused! > 2. Consider subclassing/extending/patching [1] an existing theme instead > of changing qooxdoo source code - this will result in code which is much > easier to maintain and your customizations won't be lost with next > release. > > Detailing both items is outside the scope of this thread, though... ;-) > > Hope this helps, > > Helder Magalhães > > [1] http://qooxdoo.org/documentation/0.7/theme_support > -- View this message in context: http://www.nabble.com/change-selection-background-color-for-Table%28qx.ui.table.model.Simple%29-tp16537274p16537470.html Sent from the qooxdoo-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel