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  

    Question Nested List example.

    Nested List example.


    Hey,
    I am having big problems with the Nested List view. Can anyone attach a working Nested List example?

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

      0  

    Default


    See if this helps.
    Attached Files
    Bharat Nagwani
    Sencha Designer 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 bharatn View Post
    See if this helps.
    Thank you, I forgot to write that data should come from a object and not a local json file. Can you modify it to work that way? The reason I ask is http://www.sencha.com/forum/showthre...g-displayField.
    Where I am having problems getting it to work in some combinations. So would like to know if it works in any combinations?

  4. #4
    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


    We will look into the other example you have provided.

    THanks
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  5. #5
    Sencha User
    Join Date
    Aug 2011
    Location
    Mumbai, India
    Posts
    118
    Vote Rating
    4
    Sasha172 is on a distinguished road

      0  

    Default


    Im having a problem too :

    I have a local nested data json file. I provided the url to the file in the Ajax proxy I made for the model. Now I when I load data in designer, I get the error :

    Code:
    JSON.stringify cannot serialize cyclic structures.
    
    Pls Help

  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


    Sasha -

    What build of the designer are you using? Could you give us a sample JSON structure that throws this error?

    Thanks,
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  7. #7
    Sencha User
    Join Date
    Oct 2010
    Posts
    39
    Vote Rating
    0
    ashapiro75 is on a distinguished road

      0  

    Default


    I downloaded this zip to check it out and I'm getting the JSON.stringify error from it. I'm using the latest build, 337.

    Here is what the JSON looks like -
    Code:
    [
        {
            "name": "foo",
            "id": "foo",
            "type": "FACTORY",
            "children": [
                {
                    "name": "job",
                    "id": "job",
                    "type": "JOB",
                    "children": null,
                    "execId": "job",
                    "leaf": true,
                    "execCount": 10,
                    "factoryName": "foo",
                    "parentId": "foo",
                    "text": "job",
                    "cls": "file"
                }
            ],
            "execId": "foo",
            "leaf": false,
            "execCount": 10,
            "factoryName": "boo",
            "parentId": "boo",
            "text": "foo",
            "cls": "folder"
        }
    ]

  8. #8
    Sencha User anthonyterrell's Avatar
    Join Date
    Mar 2012
    Location
    Albany, NY
    Posts
    30
    Vote Rating
    0
    anthonyterrell is on a distinguished road

      0  

    Default


    I am also getting the error:
    Code:
    JSON.stringify cannot serialize cyclic structures.
    when trying to load data. I am running on build 341.

  9. #9
    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


    To all those that are getting the
    Code:
    JSON.stringify cannot serialize cyclic structures.
    The bug thread is here:
    http://www.sencha.com/forum/showthre...lic-structures.

    We've been unable to reproduce it so if any of you are able to provide step by step instructions for always re-created this bug (that we know exists, but we cannot reproduce) that would be a huge help!
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  10. #10
    Sencha Premium Member
    Join Date
    Jul 2012
    Posts
    26
    Vote Rating
    1
    alile is on a distinguished road

      0  

    Default the provided example does not run in architect 2.

    the provided example does not run in architect 2.


    the store throws the following error when attempting to load data: Unable to load data using the supplied configuration.