No problem with the date thing... I figured it was that.
My layout is just a tabPanel with cards, and one of the tabs has a form panel as its itmes.
Code:
Ext.ns('Ihc.ipx');
Ext.onReady(function(){
Ihc.ipx.TabPanel = new Ext.TabPanel({
autoRender: true,
fullscreen: true,
tabBar: {
dock: 'bottom',
layout: {
pack: 'center'
}
},
dockedItems: [{
xtype: 'toolbar',
dock: 'top',
title: 'Welcom '+ realName,
items:[
{xtype: 'spacer'},
{
text:'LogOut',
iconCls: 'action',
ui: 'action',
dock: 'right',
handler:function(){
window.location = 'logout.php';
}
}
]
}],
cls: 'cards',
ui: 'light',
sortable: true,
animation: {
type: 'slide',
cover: true
},
defaults: {
// scroll: 'vertical'
},
items:[
{
title: 'User',
html: 'User Card',
cls: 'userCard',
iconCls: 'user'
},{
title:'Aide',
html:'Aide Card',
cls:'aideCard',
iconCls:'team'
},{
title:'Client',
// html:'Client Card',
items:Ihc.ipx.ClientCard,
cls:'clientCard',
iconCls:'bookmarks'
}
]
});
})