Jump to content

Recommended Posts

Posted

I'm creating my first unigui application, and this is my first problem. I'd like to be able to expand or collapse an accordion panel by pressing a button.

Accordion mode work perfectly and by pressing on the title the panels collapse and expand as they should, but i need to use a external button.

Someone may help me please!

 

Posted

Thank you so much for the quick reply,

you know, I was convinced that I had already tried that property, but in reality i tried the property "Collapsible" and it had no effect.

 

Thanks again

  • 2 years later...
Posted

Collapse

   UniSession.AddJS('Ext.onReady(function () {' + YourPanel.JSName + '.collapse()});');
 

expand

 UniSession.AddJS('Ext.onReady(function () {' + YourPanelJSName + '.expand()});');

  • Like 1

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