Opened 14 years ago

Closed 14 years ago

#7194 closed defect (invalid)

dijit.Tree: add in class for expandable nodes

Reported by: Nathan Toone Owned by: Nathan Toone
Priority: high Milestone: 1.2
Component: Dijit Version: 1.1.1
Keywords: Cc:
Blocked By: Blocking:


We currently have classes in the tree for individual icons - but there isn't a way to, for example, style the text of an "expandable" tree node differently than a "leaf" tree node. I propose adding "dijitTreeNodeExpandable" to expandable tree nodes.

A patch follows

Attachments (1)

tree-expandable.diff (461 bytes) - added by Nathan Toone 14 years ago.

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by Nathan Toone

Attachment: tree-expandable.diff added

comment:1 Changed 14 years ago by bill

Owner: changed from natahn to Nathan Toone

Actually, there is a way. That's what Tree.getLabelClass() is for. Is there some reason that won't work for you?

comment:2 Changed 14 years ago by Nathan Toone

Resolution: invalid
Status: newclosed

Yeah - it doesn't work for me because I didn't notice it... ;)

Note: See TracTickets for help on using tickets.