Ticket #7194 (closed defect: invalid)

Opened 12 months ago

Last modified 12 months ago

dijit.Tree: add in class for expandable nodes

Reported by: toonetown Owned by: toonetown
Priority: normal Milestone: 1.2
Component: Dijit Version: 1.1.1
Severity: normal Keywords:
Cc:

Description

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

tree-expandable.diff (461 bytes) - added by toonetown 12 months ago.

Change History

Changed 12 months ago by toonetown

Changed 12 months ago by bill

  • owner changed from natahn to toonetown

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

Changed 12 months ago by toonetown

  • status changed from new to closed
  • resolution set to invalid

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

Note: See TracTickets for help on using tickets.