Jump to content

TreePanel/TreeView no animCollapse?


gdn

Recommended Posts

Hi,

 

http://jsfiddle.net/33rX6/

 

As can be seen in the example in the "homework" effect one is presented "animCollapse".

 

http://docs.sencha.com/extjs/4.2.5/#!/api/Ext.tree.Panel-cfg-animCollapse

But I do not know why the TreeView version of 99.95.1300 UniGUI there is no such effect or a property to activate it.

I've tried manually add the "ClientEvents" (affterrender, beforeRender, beforeinit and aftercreate), most did not work.

How and what would be the correct place to put this effect? It apparently seems to be the default ExtJS but UniGUI not have.

Link to comment
Share on other sites

Thanks for answering Delphi Developer,

 

 

treview.jpg


But this way the effect was added to all TreeView (As shown the red square in the picture)

I would like to apply the effect on TreeNodes father, as the node "First" (green square in the picture) and not on the TreeView itself.

Example of how was the way you said on the download link below.

 

https://mega.nz/#!og4EBYqK!lHacgT_MbyxfaPbysAvy2rwy742s-2ZcTofEaPOZP-c

 

Link to comment
Share on other sites

Thanks again Delphi Developer.

It was exactly what I wanted!

It has somewhere or documentation that you can see these options? As "enableAnimations" did not know this property.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...