joriolm Posted September 24, 2014 Share Posted September 24, 2014 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. Quote Link to comment Share on other sites More sharing options...
eduardo.junqueira Posted September 26, 2014 Share Posted September 26, 2014 Tks Quote Link to comment Share on other sites More sharing options...
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.