EasyUI Forum
April 29, 2024, 11:06:42 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: Layout Show and Hide method  (Read 11407 times)
xiaohuo315
Newbie
*
Posts: 8


View Profile Email
« on: September 17, 2015, 12:10:25 AM »

The layout plugin has collapse and expand method now,but we need show and hide method in layout plugin.
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: September 17, 2015, 04:26:56 AM »

You can get the special region panel and show or hide it. The code below shows how to hide the west panel.
Code:
$('#layout').layout('panel','west').panel('close');
$('#layout').layout('resize');
Logged
xiaohuo315
Newbie
*
Posts: 8


View Profile Email
« Reply #2 on: September 21, 2015, 08:35:58 PM »

You can get the special region panel and show or hide it. The code below shows how to hide the west panel.
Code:
$('#layout').layout('panel','west').panel('close');
$('#layout').layout('resize');
ok,thank you.I tested it and this method is ok.
Logged
shivavalkyre
Newbie
*
Posts: 39


View Profile
« Reply #3 on: April 19, 2016, 07:38:34 PM »

Hi,
i try this code but why now i got blank space in my page, this blank space high and width actualy same with my layout size. how it can totally close and do not show blank space.

Thanks
Shiva
Logged
shivavalkyre
Newbie
*
Posts: 39


View Profile
« Reply #4 on: April 19, 2016, 08:57:22 PM »

Hi,
i have found solution,

Thanks

Shiva
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!