Jump to content

Recommended Posts

Posted

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.

Posted

Hi,

 

For now try:

 

UniTreeView1->ClientEvents->UniEvents... beforeInit fn:

function beforeInit(sender, config)
{
    config.collapsible = true;
    config.title = "Tree...";
}

Best regards.

Posted

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.

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...