-
17 Feb 2012 7:36 AM #1
Nested list not showing displayField.
Nested list not showing displayField.
Hey,
I am using a Navigation View and putting a Nested List inside. When doing so all my items have no text. I am using the test code from.
http://docs.sencha.com/touch/2-0/#!/...iew.NestedList
2012-02-17 04.33.47 pm.png
-
17 Feb 2012 10:53 AM #2
Could you attach the project so we could take a look?
Aaron Conran
@aconran
Sencha Architect Development Team
-
17 Feb 2012 11:09 AM #3
-
17 Feb 2012 11:17 AM #4
Here is the test project. Also the titles are buggy in this combination.
-
20 Feb 2012 12:32 AM #5
@aconran
Do you need more information?
If I use a TabPanel the problem is also there. So its not only a Navigation View problem..
-
20 Feb 2012 8:02 AM #6
Don't think so, thanks for the test case. Its in our todo list to look into this
Aaron Conran
@aconran
Sencha Architect Development Team
-
23 Feb 2012 9:35 AM #7
Hi,
The project that you attached has no nested list. There is only Navigation View and a child button.
Can you attach the project where you have issue with a Nested List?
ThanksBharat Nagwani
Sencha Designer Development Team
-
23 Feb 2012 9:37 AM #8
Hi,
You have to press the button (It says Press!) to see the nested list. It will insert the nested list in the nav:
And that code is taken from the docs.Code:Ext.define('ListItem', { extend: 'Ext.data.Model', fields: [{ name: 'text', type: 'string' }] }); var store = Ext.create('Ext.data.TreeStore', { model: 'ListItem', defaultRootProperty: 'items', root: data }); var nestedList = Ext.create('Ext.NestedList', { //fullscreen: true, title: 'Groceries', displayField: 'text', store: store }); me.getMainNav().push(nestedList);
-
24 Feb 2012 12:47 AM #9
Try wrapping the Model config with a config wrapper.
Code:Ext.define('ListItem', { extend: 'Ext.data.Model', config: { fields: [{ name: 'text', type: 'string' }] } });Bharat Nagwani
Sencha Designer Development Team
-
24 Feb 2012 12:58 AM #10
Looks like we can't reproduce the issue or there's a problem in the test case provided.


Reply With Quote