EasyUI Forum
May 16, 2024, 03:20:17 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Accordion: set panel to be uncollapsible  (Read 7752 times)
kudoof
Newbie
*
Posts: 21


View Profile
« 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?
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 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
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!