|
Title: accordion, change collabsible options Post by: msvabik on December 02, 2014, 06:15:26 AM Hi,
I saw a demo page "Keep Expandable Panel in Accordion" Code: <div class="easyui-accordion" style="width:500px;height:300px;"> How can I change options collapsible:false to collapsible:true, using javascript, after the page is rendered? Thx Title: Re: accordion, change collabsible options Post by: stworthy on December 02, 2014, 08:46:06 AM Please try the following code:
Code: var p = $('#aa').accordion('getPanel',0);Title: Re: accordion, change collabsible options Post by: msvabik on December 03, 2014, 01:27:34 AM Thank you, it works great.
Title: Re: accordion, change collabsible options Post by: msvabik on December 03, 2014, 01:37:28 AM And another question on a similar theme:
This code does not show up correctly the second panel (img C1.PNG): Code: <div class="easyui-accordion" data-options="multiple:true,fit:true" id="zadanka_new"> Code: <div class="easyui-accordion" data-options="multiple:true,fit:true" id="zadanka_new"> This is BUG? Title: Re: accordion, change collabsible options Post by: msvabik on December 04, 2014, 03:43:16 AM I need to have two fixed panels and in the second I need to have a table. But the table is not visible.
No idea? Title: Re: accordion, change collabsible options Post by: stworthy on December 04, 2014, 08:52:52 AM Please set the height for the accordion panel.
Code: <div class="easyui-accordion" data-options="multiple:true,fit:true" id="zadanka_new"> Title: Re: accordion, change collabsible options Post by: msvabik on December 05, 2014, 05:56:57 AM Thank you,
I set the height parameter and table shows. I thought that if I set fit = true then accordion sets the height according to available heigt. |