PDA

View Full Version : Setting default underline in treenode



vaishalishah
5 Apr 2010, 11:08 PM
Hi ,
I want all the treenodes to be underlined whenever the tree is loaded. I tried setting it in css as
.x-tree-node-collapsed .x-tree-node-icon, .x-tree-node-expanded .x-tree-node-icon, .x-tree-node-leaf .x-tree-node-icon{
border: 0 none;
height: 18px;
margin: 0;
padding: 0;
vertical-align: top;
width: 16px;
background-position:center;
background-repeat: no-repeat;
text-decoration: underline;
}

buts its not working..is there anyway to go about this.

vaishalishah
6 Apr 2010, 7:31 PM
Hi ,
I want all the treenodes to be underlined whenever the tree is loaded. I tried setting it in css as
.x-tree-node-collapsed .x-tree-node-icon, .x-tree-node-expanded .x-tree-node-icon, .x-tree-node-leaf .x-tree-node-icon{
border: 0 none;
height: 18px;
margin: 0;
padding: 0;
vertical-align: top;
width: 16px;
background-position:center;
background-repeat: no-repeat;
text-decoration: underline;
}

buts its not working..is there anyway to go about this.


solved it:)