View Full Version : [CLOSED-199] NestedList Defaults not working

4 Aug 2010, 9:05 AM

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.

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!

4 Aug 2010, 10:38 AM
@kevchuey --

Thanks for the report. The NestedList uses a custom card layout that currently does not honor the defaults specified in the constructor. I'll get this added to the list for .94

4 Aug 2010, 10:39 AM
Thanks Doug!

6 Sep 2010, 12:12 PM
NestedList has been refactored to bind to a TreeStore in the 0.94 build.

It is an Ext.Panel with a layout of card that holds Ext.List's for each level of the Tree. You can optionally implement a getDetailCard which will show a card after tapping on a leaf node in the TreeStore.

The defaults configuration should now work as you would expect it to.