Closed GoogleCodeExporter closed 8 years ago
I think this can be done by adding custom classes for your folders (using
`addClass`) and than have your own extended CSS definitions for it.
Original comment by moo...@wwwendt.de
on 6 Jun 2011 at 5:40
I have a ContextMenu 'change icon' for both nodes & folders. User will be able
to set different icons for each of them, so 'addClass' won't work here...
Original comment by mrdu...@gmail.com
on 6 Jun 2011 at 7:26
Original comment by moo...@wwwendt.de
on 5 Jul 2011 at 7:44
If you have a Dynatree node you can do
$(node.span).addClass("custom1");
The node object can be retrieved from
- Dynatree event argument
- $("#tree").dynatree("getActiveNode");
- $.ui.dynatree.getNode(element)
Original comment by moo...@wwwendt.de
on 5 Jul 2011 at 4:00
sample:
http://jsfiddle.net/mar10/eTmVU/
Original comment by moo...@wwwendt.de
on 16 Aug 2011 at 5:38
considered verified
Original comment by moo...@wwwendt.de
on 17 Jul 2012 at 4:16
Original comment by moo...@wwwendt.de
on 17 Jul 2012 at 4:19
Original issue reported on code.google.com by
mrdu...@gmail.com
on 4 Jun 2011 at 12:11