ales2018 Posted June 22, 2018 Posted June 22, 2018 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! Quote
Sherzod Posted June 22, 2018 Posted June 22, 2018 Hi, Thank you for your interest in UniGUI! You can use Collapsed property of UniPanels Quote
ales2018 Posted June 22, 2018 Author Posted June 22, 2018 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 Quote
alex_v Posted August 27, 2020 Posted August 27, 2020 I am also interested in this problem. How to open a non-first accordion panel at runtime? Quote
azago Posted August 27, 2020 Posted August 27, 2020 Collapse UniSession.AddJS('Ext.onReady(function () {' + YourPanel.JSName + '.collapse()});'); expand UniSession.AddJS('Ext.onReady(function () {' + YourPanelJSName + '.expand()});'); 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.