Dec 10, 2009, 11:14 AM
[0.8] Adding treenode in Javascript - Select icon for the treenode
is it possible to select the icon from the resources in clientside
var node = new Ext.tree.TreeNode({text:'subNode',id:'newNode_1',leaf:false, icon:'Icon.Wrench'});
Is the resource file accepting request based on the enum strings?I know this is possible:
var IconUrl = 'WebResource.axd?t=633818432100000000&d=VsP-czpd0HjRihQ1FRNz4FyYH5yqsgUU9dMXgiMttMjgduTY2YhUcZSLLov-
m3f82KBJWji9z88gyHGVqUoxCW5XliqbN2geLliHMQJ5dHY1';
var node = new Ext.tree.TreeNode({text:'subNode',id:'newNode_1',leaf:false, icon:IconUrl});