PDA

View Full Version : Unable to view all the information in the window on viewport



siva565
3 Mar 2012, 1:15 AM
I've Tabpanel in viewport layout, In tabpanel panel I want to display Extjs Window. This popup window may contains large data.If the popup height exceeds the viewport height I'm unable to view all the information in the window. So when the popup height is more then the viewport height I should view the popup content by viewport scrolling(not by popup window scrolling).


Check these screens shots to understand my issues.


A. When the popup information is less it looks like this
32354






B. When the popup information is too large it looks like this

32355


Sample popup code


var my_popup = Ext.create('Ext.window.Window', {
autoHeight: true,
//id: 'my_popup ',
closeAction: 'hide',
y: 50,
frame: false,
border: false,
modal: true,
bodyPadding: 10,
plain: true,
layout: 'fit',
maximizable: true,
items: content_form
});


Any Ideas?


Thanks in advance.

vietits
3 Mar 2012, 4:51 AM
Try to set window height or maxHeight to a specific value.

puya
3 Jul 2012, 1:07 AM
We are facing the same issue. Any real solution for this? (A scrollbar appears on the view port that allows to scroll down, but the top of the window can not be dragged into view).

Thank you,
Puiu