howto add animated gif when fetching folders from server ?



Which component do you mean?
For both dhtmlxtree and dhtlmxgrid onXLE and onXLS events can be used to show|hide any kind of loading message.



Please check
    dhtmlx.com/docs/products/kb/ … es&s=onXLS