damandeep.singh
6 Nov 2012, 4:23 AM
Hi,
I am using 2 stores:
Menu
{
"data":{
"item":[
{
"id": 1,
"Name":"Test"
},
{
"id": 1,
"Name":"Test"
}
]
}
}
Content:
{
"data":{
"item":[
{
"id": 1,
"Group":"Test",
"Content":"Hello How r u"
},
{
"id": 2,
"Group":"Test",
"Content":"Hi.. Good Morning"
},
{
"id": 3,
"Group":"Testing",
"Content":"Hello !!"
}
]
}
}
From first store named Menu I read Name as "Test" and using this I want to get the all the values of content.json with having group name : "Test" to show its itemTpl in my View.
Note: Content.json has multiple groups having same name "Test".
How to achieve this way.
Please Help.
Damandeep
I am using 2 stores:
Menu
{
"data":{
"item":[
{
"id": 1,
"Name":"Test"
},
{
"id": 1,
"Name":"Test"
}
]
}
}
Content:
{
"data":{
"item":[
{
"id": 1,
"Group":"Test",
"Content":"Hello How r u"
},
{
"id": 2,
"Group":"Test",
"Content":"Hi.. Good Morning"
},
{
"id": 3,
"Group":"Testing",
"Content":"Hello !!"
}
]
}
}
From first store named Menu I read Name as "Test" and using this I want to get the all the values of content.json with having group name : "Test" to show its itemTpl in my View.
Note: Content.json has multiple groups having same name "Test".
How to achieve this way.
Please Help.
Damandeep