Capt.JackSparrow
14 Sep 2010, 2:53 AM
I have a Container with a resizer attached to the south. This container is placed in the first of the 2 divs in the page.
The second div has a grid panel.
All is fine until I resize the page.
Once resized, if I try to resize the Container using the Resizer handle, the handle gets overlapped underneath the grid panel.
Is there a way to increase the resizer z-index?
Pls help me. I found a similar thread posted for Ext 1.x:
http://www.sencha.com/forum/showthread.php?7991-overlapping-Resizable-divs-unreachable-handles&p=510837#post510837
DataSlotFilter = Ext.extend(Ext.Container, {
//autoScroll : true,
//autoHeight : true,
flex:2,
initComponent: function(){
Ext.apply(this, {
});
DataSlotFilter.superclass.initComponent.apply(this, arguments);
}
});
Ext.reg('DataSlotFilter', DataSlotFilter);
var dsFilter = new DataSlotFilter({
id : 'dsFilter',
border : false,
frame : false,
listeners: {
afterrender: function(thisElt){
thisElt.resizer = new Ext.Resizable(thisElt.getEl(), {
dynamic: true,
handles: 's',
wrap:true,
pinned: true
});
thisElt.resizer.on('resize', thisElt.resizeHandler, thisElt);
}
},
resizeHandler: function(resizeableObj, width, height, rawWidth, rawHeight){
//Ext.getCmp('taskList').el.setStyle('padding-top', '5%');
this.syncSize();
this.doLayout();
}
});
The second div has a grid panel.
All is fine until I resize the page.
Once resized, if I try to resize the Container using the Resizer handle, the handle gets overlapped underneath the grid panel.
Is there a way to increase the resizer z-index?
Pls help me. I found a similar thread posted for Ext 1.x:
http://www.sencha.com/forum/showthread.php?7991-overlapping-Resizable-divs-unreachable-handles&p=510837#post510837
DataSlotFilter = Ext.extend(Ext.Container, {
//autoScroll : true,
//autoHeight : true,
flex:2,
initComponent: function(){
Ext.apply(this, {
});
DataSlotFilter.superclass.initComponent.apply(this, arguments);
}
});
Ext.reg('DataSlotFilter', DataSlotFilter);
var dsFilter = new DataSlotFilter({
id : 'dsFilter',
border : false,
frame : false,
listeners: {
afterrender: function(thisElt){
thisElt.resizer = new Ext.Resizable(thisElt.getEl(), {
dynamic: true,
handles: 's',
wrap:true,
pinned: true
});
thisElt.resizer.on('resize', thisElt.resizeHandler, thisElt);
}
},
resizeHandler: function(resizeableObj, width, height, rawWidth, rawHeight){
//Ext.getCmp('taskList').el.setStyle('padding-top', '5%');
this.syncSize();
this.doLayout();
}
});