kevchuey
4 Aug 2010, 9:05 AM
Hi,
I am trying to get defaults ('height' configuration in this case) working for a NestedList and the properties are not being taken by the 1st and 2nd items in the below code chunk. I explicitly specify heights in the 3rd and 4th items, and that works.
If I change Ext.NestedList to Ext.Panel, the height defaults work.
Ext.setup({
onReady: function() {
var testObject = new Ext.NestedList( {
fullscreen: true,
defaults: {
height: 100
},
items: [{
html: 'one',
},{
html: 'two',
},{
html: 'three',
height: 100
},{
html: 'four',
height: 100
},
]
});
}
});
I am using version 0.91. Any ideas or comments would be greatly appreciated!
I am trying to get defaults ('height' configuration in this case) working for a NestedList and the properties are not being taken by the 1st and 2nd items in the below code chunk. I explicitly specify heights in the 3rd and 4th items, and that works.
If I change Ext.NestedList to Ext.Panel, the height defaults work.
Ext.setup({
onReady: function() {
var testObject = new Ext.NestedList( {
fullscreen: true,
defaults: {
height: 100
},
items: [{
html: 'one',
},{
html: 'two',
},{
html: 'three',
height: 100
},{
html: 'four',
height: 100
},
]
});
}
});
I am using version 0.91. Any ideas or comments would be greatly appreciated!