my JSON like this:
{
“name”: “Coca-Cola”,
“is_published”: true,
“website”: “http://www.coca-cola.com”,
“username”: “coca-cola”,
“founded”: “1886”,
“description”: “Created in 1886 in Atlanta, Georgia, by Dr. John S. Pemberton, Coca-Cola was first offered as a fountain beverage at Jacob’s Pharmacy by mixing Coca-Cola syrup with carbonated water. \n\nCoca-Cola was patented in 1887, registered as a trademark in 1893 and by 1895 it was being sold in every state and territory in the United States. In 1899, The Coca-Cola Company began franchised bottling operations in the United States. \n\nCoca-Cola might owe its origins to the United States, but its popularity has made it truly universal. Today, you can find Coca-Cola in virtually every part of the world.\n\nCoca-Cola Page House Rules: CokeURL.com/q28a”,
“about”: “The Coca-Cola Facebook Page is a collection of your stories showing how people from around the world have helped make Coke into what it is today.”,
“location”: {
“latitude”: 19.2,
“longitude”: -96.1333
},
“checkins”: 115,
“talking_about_count”: 1230327,
“category”: “Food/beverages”,
“id”: “40796308305”,
“link”: “https://www.facebook.com/coca-cola”,
“likes”: 48916860,
“cover”: {
“cover_id”: “10151829640053306”,
“source”: “http://a8.sphotos.ak.fbcdn.net/hphotos-ak-ash3/s720x720/529413_10151829640053306_446360541_n.jpg”,
“offset_y”: 0
}
}
And now I now I want to show detail of cover_id to grid view and I tried to use like this but I could not get it. My code is
function my_button(obj){ dhx.ui.passive.button.render({ label: obj.Version }); }; dhx.ui({ container:"grid_container", rows:[{ id:"grid", view:"grid", select:"multiselect", fields:[ { id:"name", width:40, sort:{ as:"int" } }, { id :"locationTolatitude", width:350, label:"Company" }, { id: ["#cover#","cover_id"], label:"Cover", width:350 } ], datatype:"json", url:"https://graph.facebook.com/cocacola" }] }); please help me to show it on grid. Thank for your help.