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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...