PDA

View Full Version : restore functionality for Panel in ExtJs



DineshGudikandula
8 Jan 2013, 1:06 AM
Hi all...
In my application the panel contain item as tabpanel , Which showing in Viewport center region.When i add tools item to panel of type restore it show button,But how can achieve this restore functionality while clicking on restore button in panel title bar.
code like :
xtype:'panel',
title: 'Hello',
width: 200,
height: 200,
html: '<p>World!</p>',
tools:[{
type:'restore',
handler:function(){
//what is the code i need to write here..
}
}]


Thanks in advance....help plz...

friend
8 Jan 2013, 7:49 AM
What are you trying to 'restore'?

DineshGudikandula
8 Jan 2013, 8:27 PM
Hi friend...My requirement is.
In viewport west, center,south regions contain Panels.And center,south regions panels should show restore(in panel title bar) button.When user click on center regions panel restore button, it should show in Full screen window, that mean remain region panels should minimizes.In the same way for north region panel also.

My question is how can i achieve this using Panel restore?

Please quick help....

friend
9 Jan 2013, 5:45 AM
http://www.sencha.com/forum/showthread.php?253369-Problem-with-panel-expand-collapse-in-Viewport