Posted 2 August 2018, 12:36 am EST
I want to bind the below data to flexgrid which I am not able to bing .
If i will give :
<wj-flex-grid
itemsource = "data">
</wj-flex-grid
It’s only binding the numberofmobiles column only.
for refrence to the desired output refer to the attached zip
var data = [
{
“NumberOfMobiles”: “3”,
“Mobiless”: [
{
“Price”: 939,
“Mobiles”: “Samsung S9”
},
{
“Price”: 458,
“Mobiles”: “Apple x”
},
{
“Price”: 366,
“Mobiles”: “mi 8”
},
{
“Price”: 1500,
“Mobiles”: “oneplus 6”
}
]
},
{
“NumberOfMobiles”: “4”,
“Mobiless”: [
{
“Price”: 883,
“Mobiles”: “Samsung S9”
},
{
“Price”: 449,
“Mobiles”: “Apple x”
},
{
“Price”: 329,
“Mobiles”: “mi 8”
},
{
“Price”: 1500,
“Mobiles”: “oneplus 6”
}
]
},
{
“NumberOfMobiles”: “5”,
“Mobiless”: [
{
“Price”: 893,
“Mobiles”: “Samsung S9”
},
{
“Price”: 450,
“Mobiles”: “Apple x”
},
{
“Price”: 337,
“Mobiles”: “mi 8”
},
{
“Price”: 1500,
“Mobiles”: “oneplus 6”
}
]
},
{
“NumberOfMobiles”: “6”,
“Mobiless”: [
{
“Price”: 880,
“Mobiles”: “Samsung S9”
},
{
“Price”: 446,
“Mobiles”: “Apple x”
},
{
“Price”: 327,
“Mobiles”: “mi 8”
},
{
“Price”: 1500,
“Mobiles”: “oneplus 6”
}
]
}
];