Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

    Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Touch Premium Member hotdp's Avatar
    Join Date
    Nov 2010
    Location
    Denmark
    Posts
    603
    Vote Rating
    14
    hotdp will become famous soon enough

      0  

    Default 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

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,064
    Vote Rating
    113
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Could you attach the project so we could take a look?
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Touch Premium Member hotdp's Avatar
    Join Date
    Nov 2010
    Location
    Denmark
    Posts
    603
    Vote Rating
    14
    hotdp will become famous soon enough

      0  

    Default


    Quote Originally Posted by aconran View Post
    Could you attach the project so we could take a look?
    Sure, I have just created a test project. Where can I attach/send it?

  4. #4
    Touch Premium Member hotdp's Avatar
    Join Date
    Nov 2010
    Location
    Denmark
    Posts
    603
    Vote Rating
    14
    hotdp will become famous soon enough

      0  

    Default


    Here is the test project. Also the titles are buggy in this combination.
    Attached Files

  5. #5
    Touch Premium Member hotdp's Avatar
    Join Date
    Nov 2010
    Location
    Denmark
    Posts
    603
    Vote Rating
    14
    hotdp will become famous soon enough

      0  

    Default


    @aconran

    Do you need more information?

    If I use a TabPanel the problem is also there. So its not only a Navigation View problem..

  6. #6
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,064
    Vote Rating
    113
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    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

  7. #7
    Sencha User
    Join Date
    Jun 2011
    Posts
    350
    Vote Rating
    1
    bharatn is on a distinguished road

      0  

    Default


    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?
    Thanks
    Bharat Nagwani
    Sencha Designer Development Team

  8. #8
    Touch Premium Member hotdp's Avatar
    Join Date
    Nov 2010
    Location
    Denmark
    Posts
    603
    Vote Rating
    14
    hotdp will become famous soon enough

      0  

    Default


    Quote Originally Posted by bharatn View Post
    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?
    Thanks
    Hi,
    You have to press the button (It says Press!) to see the nested list. It will insert the nested list in the nav:
    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);
    And that code is taken from the docs.

  9. #9
    Sencha User
    Join Date
    Jun 2011
    Posts
    350
    Vote Rating
    1
    bharatn is on a distinguished road

      0  

    Default


    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

  10. #10
    Touch Premium Member hotdp's Avatar
    Join Date
    Nov 2010
    Location
    Denmark
    Posts
    603
    Vote Rating
    14
    hotdp will become famous soon enough

      0  

    Default


    Quote Originally Posted by bharatn View Post
    Try wrapping the Model config with a config wrapper.

    Code:
    Ext.define('ListItem', {
        extend: 'Ext.data.Model',
        config: {
            fields: [{
                name: 'text',
                type: 'string'
            }]
        }
    });
    Awesome it works! Should you not update the example on http://docs.sencha.com/touch/2-0/#!/api/Ext.dataview.NestedList