Would it be possible to customize the icon in the treeview depending on properties of the item?
For example, we have implemented accessrules for some files in media, and it would be nice to display a small "key-icon" above the regular icon, just to show that there are accessrules on this file.
As what I can see the nodes cssclass comes from this request
/umbraco/backoffice/UmbracoTrees/MediaTree/GetNodes?id=[nodeid]&application=media&tree=&isDialog=false which gives me an array of Umbraco.Web.Models.Trees.TreeNode
If I could only access the TreeNode object when it's initialized, I could add another css-class. Is this possible?
Modify TreeNode's icon by css-class
Would it be possible to customize the icon in the treeview depending on properties of the item?
For example, we have implemented accessrules for some files in media, and it would be nice to display a small "key-icon" above the regular icon, just to show that there are accessrules on this file.
As what I can see the nodes cssclass comes from this request /umbraco/backoffice/UmbracoTrees/MediaTree/GetNodes?id=[nodeid]&application=media&tree=&isDialog=false which gives me an array of Umbraco.Web.Models.Trees.TreeNode
If I could only access the TreeNode object when it's initialized, I could add another css-class. Is this possible?
is working on a reply...