I replaced the default icons of tree-nodes in my TreeStore:
listeners: {
append: function( oParentNode, oAppendedNode ) {
oAppendedNode.set( 'icon', Ext.BLANK_IMAGE_URL );
}
}
But now they don’t show the loading icon anymore.
Is there any simple way to get it back?
Seems like the
iconproperty was not set in the first place and the new one would override all icons (folder, file AND load) so I build 2 handlers, which remove the property while loading and add it back afterwards.