EasyUI Forum

General Category => General Discussion => Topic started by: xiaohuo315 on September 17, 2015, 12:10:25 AM



Title: Layout Show and Hide method
Post by: xiaohuo315 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.


Title: Re: Layout Show and Hide method
Post by: stworthy 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');


Title: Re: Layout Show and Hide method
Post by: xiaohuo315 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.


Title: Re: Layout Show and Hide method
Post by: shivavalkyre 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


Title: Re: Layout Show and Hide method
Post by: shivavalkyre on April 19, 2016, 08:57:22 PM
Hi,
i have found solution,

Thanks

Shiva