Urkman
18 Aug 2009, 10:57 PM
Hello,
I have some problems with a bbar of a DataView inside a TabPanel.
Here are some parts of my code:
Chat.ContentTab = new Ext.TabPanel( {
region:'center',
deferredRender:false,
activeTab:0,
margins : '0 0 0 2',
defaults: {
closable: false,
autoScroll: true
},
items: [{
id: 'chatMessagesTab',
title: 'Chat',
items: [{
xtype: 'chatMessagesDataView'
}]
},{
id: 'questionListTab',
title: 'Fragen',
items: [{
xtype: 'questionListDataView'
}]
}]
});
When I use this code for my TabPanel, the bbar is not fixed at the bottom of the Panel. It is under the List of entries inside the DataView and is scrolled with the list.
When I use this code:
Chat.ContentTab = new Ext.TabPanel( {
region:'center',
deferredRender:false,
activeTab:0,
margins : '0 0 0 2',
defaults: {
closable: false,
autoScroll: true
},
items: [
{xtype: 'chatMessagesDataView'},
{xtype: 'questionListDataView'}
]
});It works fine...
Why it is not working with the first version?
I need to use the first version, because I need to disable and enable the Panels programmically...
Thanks for your Help,
Urkman
I have some problems with a bbar of a DataView inside a TabPanel.
Here are some parts of my code:
Chat.ContentTab = new Ext.TabPanel( {
region:'center',
deferredRender:false,
activeTab:0,
margins : '0 0 0 2',
defaults: {
closable: false,
autoScroll: true
},
items: [{
id: 'chatMessagesTab',
title: 'Chat',
items: [{
xtype: 'chatMessagesDataView'
}]
},{
id: 'questionListTab',
title: 'Fragen',
items: [{
xtype: 'questionListDataView'
}]
}]
});
When I use this code for my TabPanel, the bbar is not fixed at the bottom of the Panel. It is under the List of entries inside the DataView and is scrolled with the list.
When I use this code:
Chat.ContentTab = new Ext.TabPanel( {
region:'center',
deferredRender:false,
activeTab:0,
margins : '0 0 0 2',
defaults: {
closable: false,
autoScroll: true
},
items: [
{xtype: 'chatMessagesDataView'},
{xtype: 'questionListDataView'}
]
});It works fine...
Why it is not working with the first version?
I need to use the first version, because I need to disable and enable the Panels programmically...
Thanks for your Help,
Urkman