EasyUI Forum
April 29, 2024, 11:58:14 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: Disable resizing on Layout?  (Read 12119 times)
pacific202
Newbie
*
Posts: 35


View Profile
« on: October 12, 2011, 09:38:54 AM »

How can I disable the resizing feature on my "west" panel in the layout object using the html tag and JavaScript?

Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: October 12, 2011, 05:49:24 PM »

Try below code to disable resizable feature for your west panel:

Code:
var p = $('body').layout('panel','west');  // get the west panel
p.panel('panel').resizable({disabled:true});
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!