EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: kudoof on August 20, 2013, 08:00:20 AM



Title: Accordion: set panel to be uncollapsible
Post by: kudoof on August 20, 2013, 08:00:20 AM
I guess I need to start a new topic to ask another question:

how to set one of panels to be uncollapsible, either at initialization or the user wants to 'anchor' it.  I understand this may change the height of the accordion area, but is it doable?


Title: Re: Accordion: set panel to be uncollapsible
Post by: stworthy on August 20, 2013, 03:40:32 PM
Set onBeforeCollapse  event for a panel and make it return false. This panel will  can not be collapsed.
Here is another solution that simply combines panels together. It act as a customized accordion.
http://www.jeasyui.com/tutorial/layout/panel2.php