EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
January 24, 2026, 07:24:29 AM
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
>
EasyUI for jQuery
>
Resize West Layout
Pages: [
1
]
« previous
next »
Print
Author
Topic: Resize West Layout (Read 20260 times)
jwilliquor
Newbie
Posts: 15
Resize West Layout
«
on:
August 10, 2012, 07:49:33 AM »
All,
I have a layout based on demo/layout.html file. I'm trying to figure out how to programmatically resize the west portion of the layout and then have the center portion auto resize accordingly. Can someone point me in the right direction?
Thanks
Justin Will
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: Resize West Layout
«
Reply #1 on:
August 12, 2012, 06:34:12 PM »
To resize the west portion of layout, get the west panel and then call its 'resize' method:
Code:
var p = $('body').layout('panel','west'); // get the west panel
p.panel('resize',{width:100}); // change the width of west panel
$('body').layout('resize');
Logged
jwilliquor
Newbie
Posts: 15
Re: Resize West Layout
«
Reply #2 on:
August 13, 2012, 08:58:20 AM »
Worked like a charm. Thank you so much.
Justin
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...