Changes between Initial Version and Version 1 of Ticket #11896


Ignore:
Timestamp:
Nov 6, 2010, 5:17:44 PM (12 years ago)
Author:
bill
Comment:

You are setting the value of getIconClass too late, after the Tree has already called the original getIconClass(). Something like this will work:

var tree = new dijit.Tree({
    model: treeModel,
	showRoot: true,
	getIconClass: myGetIconClassFunction
},
"treeOne");

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11896

    • Property Status changed from new to closed
    • Property Resolution changed from to invalid
  • Ticket #11896 – Description

    initial v1  
    552). When the tree is collapsed/expanded the icon is applied to the root node but never to the leaf nodes.
    66
    7 I'm using an ItemFileReadStore and a ForestStoreModel. Code is attached.
     7I'm using an !ItemFileReadStore and a !ForestStoreModel. Code is attached.
    88
    99Thanks