| Issue 80: | Posibility to specify a icon for root note | |
| 1 person starred this issue and may be notified of changes. | Back to list |
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
Ah okay, i dident notice. That will do then. thanks
Feb 23, 2009
(No comment was entered for this change.)
Status:
WontFix
Owner: moo...@wwWendt.de Labels: -Type-Defect Type-Enhancement Milestone-Release0.4
Feb 25, 2009
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
try the 'idPrefix' option
Feb 25, 2009
doh. thanks. |
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.)