Jump to content

Recommended Posts

Posted

Hi,

I have one UniPanel with this: 

 

UniEvents->aftercreate:

 

sender.layout = 'accordion';

 

This renders an accordion component like attached images, but only when collapsed and then expanded first control, buttons fit panel's width.

 

I used:

 

UniSession.AddJS(UPmenu1.JSName+'.collapse();');

UniSession.AddJS(UPmenu1.JSName+'.expand();');

 

But behavior get strange with panels inside accordion, they remain collapsed or expanded.

 

Are there some ExtJS functions to repaint, refresh or reload controls to simulate and collapse-expand events in this case?

 

Thanks.

 

post-242-0-15904700-1411575939_thumb.png

post-242-0-79921100-1411575945_thumb.png

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