Sencha-Touch-tabs-and-toolbars-demo icon indicating copy to clipboard operation
Sencha-Touch-tabs-and-toolbars-demo copied to clipboard

NestedList title not updating

Open NeilJS opened this issue 13 years ago • 0 comments

Hi

Looking at the nestedlist via the 'More' footer tab on the demo site - is there any reason why the nestedlist's title doesn't update as you drill down? For example, as you click on 'About', the toolbar title should change from 'More' to 'About' should it not?

Similarly, the back button does not update.

Nestedlists in other examples that use json to build the treestore work fine. This example is using the 'root' parameter to build the tree, as so (not sure if that's the cause but can't see anything else that's different)...

ToolbarDemo.morestore = new Ext.data.TreeStore({ model: 'ListItem', root: { items: [{ text: 'About', card: {xtype: 'aboutcard'}, leaf: true }, { text: 'Bookmarks', card: {xtype: 'bookmarkcard'}, leaf: true }], }, proxy: { type: 'ajax', reader: { type: 'tree', root: 'items' } } });

Any ideas how to fix the title so that it updates?

Thanks!

NeilJS avatar Dec 13 '11 13:12 NeilJS