I have a panel which is in the center region of borderLayout ,and it has 3 panels with cardLayout,when I activate a card ,then activate other card,which have some form field,but they can not render,I use firebug to track this,I find that : Adding a formpanel to a tab [Archive] - Ext JS Forums:: setting the tabs to active and is still does not work, neither the grid of form. i dont know why it is now working) but the form it still an issue, http://extjs.com/forum/archive/index.php/t-36985.htmlHOME |
search:
|
Editors Daily Blog: February 2006 Archive:: The existence of the CardLayout makes it both simple and inevitable. An opinion on why Java3d is not widespread kicks off todays Forums: From what http://weblogs.java.net/blog/editors/archives/2006/02/index.htmlHOME |
I use hideMode:'offsets',and it works,but other problems show up :some field in the form which is in column layout disappear,I use firebug to track it,also find that the program add some ''tags outside the container,and style="width:0px;",what's wrong ?
Aah, one more idea: hideMode:'offsets'.
I have tried it ,but it doesn't work.......
any other suggestion?
mail = new Ext.Panel({
layout : 'border',
border : false,
fitToFrame : true,
items : [{
region : 'west',
title : TM_MAIL_TREE,
width : 150, Ext JS with Rails: June 2008:: Ext.form.FieldSet and Ext.layout.CardLayout everything was shown/rendered besides of the form fields inside the Fieldsets. http://www.extjswithrails.com/2008_06_01_archive.htmlHOME | Ext: Help [Archive] - Page 101 - Ext JS Forums:: Form Fields not populating. how to implement a drag and drop auto arranging grid? render Ext.MessageBox to a panel. while the page will not be loaded to http://extjs.com/forum/archive/index.php/f-9-p-101.htmlHOME |
minSize : 120,
maxSize : 250,
split : true,
autoScroll : true,
//fitToFrame : true,
margins : '4 0 4 4',
cmargins : '4',
collapsible : true,
collapseMode : 'mini',
collapsed : false,
layout : 'fit',
items : Olerp.Tm.MailTreeObj
},{
id : 'mailCenter',
region : 'center',
width : 'auto',
monitorResize : true,
fitToFrame : true,
margins : '4 4 4',
layout : 'fit',
border : false,
items : Olerp.Tm.MailManage.mailCard=new Ext.Panel({
id : 'mailCard',
layout : 'card',
border : false,
layoutConfig : {
deferredRender : false
},
activeItem : 2,
items : [{
id : 'mailList',
layout : 'fit',
items : Olerp.Tm.MailGridPanel,
border : false
},{
id : 'mailView',
layout : 'fit',
border : false,
items : Olerp.Tm.MailDetailObj
},{
id : 'mailWrite',
layout : 'fit',
items : Olerp.Tm.MailFormObj,
border : false
}]
})
}]
});
Give your card layout config option deferredRender:false.
As to forms it should work, please double check the spelling: deferredRender:false.
Cannot say w/o seeing the code. Can you put together a showcase that we could copy to ext/examples and debug locally?
Nortel Unveils Vision, Strategy for Israeli High-Performance Net
Busy Friday Leads to Strong Close for Net Stocks | |