1. #1

    Join Date
    Feb 2013
    Location
    India
    Posts
    9
    Vote Rating
    0
    Swetosuvro is on a distinguished road

      0  

    Question Unanswered: Master Detail Grid (Tree Grid), data loading

    Unanswered: Master Detail Grid (Tree Grid), data loading


    Hello,

    I have an application where I want to use Master Detail Grid (Tree Grid).
    The grid should be loading a row "Material" and under the material all the Substitute materials should load.

    I am using nested json to load the grid. But for me data is not loading in the grid.
    I am using json, similar to the one given below.

    [{"MaterialName":"A",
    "Qty":10,
    "Status":"Active",
    "SubMaterial" :[
    {
    "SubMaterialName":"A1",
    "Qty":8,
    "Status":"Active",
    "Type":"Input"
    },
    {
    "SubMaterialName":"A2",
    "Qty":2,
    "Status":"Active",
    "Type":"Output"
    }

    ]
    },
    {
    "MaterialName":"B",
    "Qty":100,
    "Status":"Active"
    }
    ];

    Can someone please help me out with this issue.
    You can refer to the attached screenshot to visualize how my grid should load.
    Note: The screen shot belongs to a windows application.

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Posts
    9
    Vote Rating
    0
    jpurni is on a distinguished road

      0  

    Default


    Your model should be able to match the JSON data . Can you post sample of your model and JSON data ?

  3. #3
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,912
    Answers
    655
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Have a look at the following UX. There is an example of nesting a grid on expanded rows:
    https://github.com/mitchellsimoens/U...ionRowExpander

    Scott

Thread Participants: 2

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi