PDA

View Full Version : Can't drop a Container in Ext.dataView.List



tecnosencha
24 Sep 2012, 11:54 PM
Hi!
My platform is Windows 7 with SA 2.1.0 build 633.
Until version 613 i can insert a Container into a Ext.dataView.List

Now in version 633 can't do this.

This is the code generated by SA2 613 and after update to 633 the code is the same,
but if i try to delete the container and then retry to drop a new container into my DataList
it is deny.





//CONTAINER
Ext.define('FM.view.TableHeader', {
extend: 'Ext.Container',
alias: 'widget.tableheader',
config: {
height: 42,
id: 'tableheader',
styleHtmlContent: true
}
});
//DATA LIST
Ext.define('FM.view.IntegraDataList', {
extend: 'Ext.dataview.List',
alias: 'widget.integradatalist',
requires: [
'FM.view.TableHeader'
],
config: {
itemId: 'integradatalist',
items: [
{
xtype: 'toolbar',
docked: 'top',
items: [
{
xtype: 'button',
itemId: 'backtoFiltro',
ui: 'back',
text: 'Indietro'
},
{
xtype: 'spacer',
height: 39
}
]
},
{
xtype: 'tableheader',
docked: 'top'
}
]
}
});



Thank you and sorry for my bad English