Changes

Jump to: navigation, search

Mozilla.dev.tech.xul

2 bytes added, 00:02, 11 November 2006
/* [http://groups.google.com/group/mozilla.dev.tech.xul/browse_thread/thread/c38b314ec14bf039/b3fafe8e0a90102c#b3fafe8e0a90102c Can I change a XUL tree cell/row/item background color with Javacript?]
To set the background color you need to set the property for the cell/row and not for the item.
An example of this is:
:selectedtreeitem = tree.view.getItemAtIndex(tree.currentIndex);:electedtreeitem.firstChild.setAttribute('style', 'background: #FF0000');
== UnAnswered Questions (UAQ) ==
1
edit

Navigation menu