Hi,
I'm using comboTree in AsyncTree mode (by using loader callback which retrieves nodes from the server),
And i'm also using formatter callback in order to show specific image at each node according to its data as the following example:
<style>
.tree-icon{
display:none;
}
</style>
This
Above code is done in order to hide the default icons of the tree nodes in order i'll be able to use custom icons
(I did the display:none mapping according to other post in the forum) :
The comboTree init code:$('#ct').combotree({
formatter: function (value){
return '<img src="..." style="width:16px;height:18px;vertical-align:bottom"/>'+value;
}
,
loader: function(param, success) { // Some Code...}
});
My Problem is that when using custom formatter for the displayed nodes,
the 'tree-loading' progress indicator is not displayed, because the 'tree-icon' class is set on 'display: none' .
Is there a way i can set the progress indicator (Waiting animation) to appear in every load operation when extending a parent node ?
NOTICE: here is the progress indicator i need to display:
This tree progress indicator appears by default on the tree icon div, when using async tree functions, but as i mentioned above,
in my case i need to do it when using formatter function for custom icon on each node in the tree.
Thanks in advance.