Trying to figure out how to display a folder tree with only 'folder' icons. no files involved here. The idea is to choose a folder.
The default display shows a file icon for leaf nodes.
I have tried the following workaround, but the folders show up in permanently open state, whether collapsed or not.
loadFilter: function(data, parent){
function forNodes(data, callback){
.
.
}
forNodes(data, function(node){
node.iconCls = 'open-folder';
});
return data;
}
EasyUI

