GridPanel not render inside Window
The code below work ok if I remove the comment of "debugger: (the grid render ok with data from store, etc) if comment debugger the window appear but nothing inside.
Any help please?
I think that when the grid is render the store is not loaded and render nothing, however if the execution is stoped before create the window the store have time to load and then the grid render ok
Thank in avanced
Daniel
// debugger;
this.win = desktop.createWindow({
id: 'sch-win',
title:'Search Window',
width:600,
height:440,
x:10,
y:10,
layout:'fit',
iconCls: 'accordion',
items:[this.gridSearchCondition],
});
}
The grid is not pre-rendered only created.
Finally solve the situation with this code:
this.win = desktop.createWindow({
id: 'sch-win',
title:'Search Window',
width:600,
height:440,
x:10,
y:10,
iconCls: 'accordion',
shim:false,
animCollapse:false,
constrainHeader:true,
layout:'border',
border:false,
layoutConfig: {
animate:false
},
items:[this.searchTypeTabs,
{
region:'south',
split:true,
layout: 'fit',
height: 100,
items:[this.gridSearchCondition]
}]});
}
VERY IMPORTANT when defined the grid to put :
border:false
Jack I understand that you have a lot of work but is very difficult to deal with the new form to defined layout, regions, borders with Ext2 without a minimal documentation.
In this case I solved by compared with one of your example.
I still without understand very well this parameter border:false and why this cause the grid appear an disappear, ect.
Thank in advanced
Daniel
Jack I understand that you have a lot of work but is very difficult to deal with the new form to defined layout, regions, borders with Ext2 without a minimal documentation.
In this case I solved by compared with one of your example.
I still without understand very well this parameter border:false and why this cause the grid appear an disappear, ect.
As has been repeatedly stated, 2.0 is pre-alpha code - undocumented, subject to change, and instability. If you're going to develop with this version you have to be willing to work with those obstacles and dig into the source to understand what's going on.
Any help?
Daniel

