Issue 80: Posibility to specify a icon for root note
Status:  WontFix
Owner:
Closed:  Feb 2009
Reported by peterlin...@gmail.com, Feb 23, 2009
This is a feature request.

A way to specify the icon for the root note, or having a css rule only for
the root.

Right now I style the ".ui-dynatree-folder.ui-dynatree-expanded 
span.ui-dynatree-icon" rule, and it works mostly, except in IE6.
Feb 23, 2009
Project Member #1 moo...@wwwendt.de
The root span has the special Id: ui-dynatree-id-root  
It should be possible to modify the css like this:
#ui-dynatree-id-root span.ui-dynatree-icon
{
  background-image: url("custom.gif");
}


(Note: currently the ID is in fact "ui-dynatree-id-ui-dynatree-id-root", but I will
fix that in the next release.)

Feb 23, 2009
#2 peterlin...@gmail.com
Ah okay, i dident notice. That will do then. thanks
Feb 23, 2009
Project Member #3 moo...@wwwendt.de
(No comment was entered for this change.)
Status: WontFix
Owner: moo...@wwWendt.de
Labels: -Type-Defect Type-Enhancement Milestone-Release0.4
Feb 25, 2009
#4 peterlin...@gmail.com
If iam having multiple trees on the same pages, will this not be a problem, that the
root has a unique ID?

I would like to have 3 trees with 3 different root notes?

Should the id of the root note not be prefixed by the container or something?






Feb 25, 2009
Project Member #5 moo...@wwwendt.de
try the 'idPrefix' option
Feb 25, 2009
#6 peterlin...@gmail.com
doh. thanks.