EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
April 29, 2024, 11:06:42 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
General Discussion
>
Layout Show and Hide method
Pages: [
1
]
« previous
next »
Print
Author
Topic: Layout Show and Hide method (Read 11407 times)
xiaohuo315
Newbie
Posts: 8
Layout Show and Hide method
«
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
Re: Layout Show and Hide method
«
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
Re: Layout Show and Hide method
«
Reply #2 on:
September 21, 2015, 08:35:58 PM »
Quote from: 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');
ok,thank you.I tested it and this method is ok.
Logged
shivavalkyre
Newbie
Posts: 39
Re: Layout Show and Hide method
«
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
Re: Layout Show and Hide method
«
Reply #4 on:
April 19, 2016, 08:57:22 PM »
Hi,
i have found solution,
Thanks
Shiva
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...