Sencha-Touch-tabs-and-toolbars-demo
Sencha-Touch-tabs-and-toolbars-demo copied to clipboard
NestedList title not updating
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!