EasyUI Forum
March 29, 2024, 04:35:31 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Maximizing portal panel not working as expected  (Read 3381 times)
WizPS
Jr. Member
**
Posts: 67


View Profile
« on: January 17, 2021, 08:07:00 AM »

Maximizing portal panel just gets a bit higher instead of getting maximized across the window.

How can I get portal panel to be maximized across the window?

I added
Code:
maximizable: true
to
Code:
$(function(){
$('#pp').portal({
border:false,
fit:true
});
add();
});
function add(){
for(var i=0; i<3; i++){
var p = $('<div/>').appendTo('body');
p.panel({
title:'Title'+i,
content:'<div style="padding:5px;">Content'+(i+1)+'</div>',
height:100,
closable:true,
collapsible: true,
maximizable: true
});
$('#pp').portal('add', {
panel:p,
columnIndex:i
});
}
$('#pp').portal('resize');
}
Please advice.
Logged
jarry
Administrator
Hero Member
*****
Posts: 2260


View Profile Email
« Reply #1 on: January 18, 2021, 12:54:02 AM »

Please update the jquery.portal.js file to a newer version.

https://www.jeasyui.com/extension/portal.php
Logged
WizPS
Jr. Member
**
Posts: 67


View Profile
« Reply #2 on: January 21, 2021, 06:04:40 PM »

I tested and getting the same result. Have double checked and it's using the latest  ver. 1.0.1.

What am I missing?
Logged
jarry
Administrator
Hero Member
*****
Posts: 2260


View Profile Email
« Reply #3 on: January 21, 2021, 07:24:12 PM »

Please look at this example http://code.reloado.com/izixoz3/edit#preview. It works fine.
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!