{"id":3153,"date":"2014-03-16T22:59:40","date_gmt":"2014-03-16T22:59:40","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/16\/problem-about-listgrid-collection-of-common-programming-errors\/"},"modified":"2014-03-16T22:59:40","modified_gmt":"2014-03-16T22:59:40","slug":"problem-about-listgrid-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/16\/problem-about-listgrid-collection-of-common-programming-errors\/","title":{"rendered":"problem about listgrid-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/RyKJp.jpg?s=32&amp;g=1\" \/><br \/>\nTill Helge<br \/>\njson datasource smartgwt listgrid<br \/>\nI have created a REST API at URL: http:\/\/localhost:8888\/rest\/contacts with this JSON output:{&#8220;contact&#8221;: {&#8220;address&#8221;: [{&#8220;city&#8221;:&#8221;Shanghai&#8221;,&#8221;street&#8221;:&#8221;Long Hua Street&#8221;},{&#8220;city&#8221;:&#8221;Shanghai&#8221;,&#8221;street&#8221;:&#8221;Dong Quan Street&#8221;}],&#8221;id&#8221;: &#8220;huangyim&#8221;,&#8221;name&#8221;: &#8220;Huang Yi Ming&#8221;} }I want to print only the id value in a smartGWT ListGrid.public class ExampleEntry implements EntryPoint {#Overridepublic void onModuleLoad() {DataSource dataSource = new DataSource(); dataSource.setDataFormat(DSDataFormat.JSON); dataSource.s<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Till Helge json datasource smartgwt listgrid I have created a REST API at URL: http:\/\/localhost:8888\/rest\/contacts with this JSON output:{&#8220;contact&#8221;: {&#8220;address&#8221;: [{&#8220;city&#8221;:&#8221;Shanghai&#8221;,&#8221;street&#8221;:&#8221;Long Hua Street&#8221;},{&#8220;city&#8221;:&#8221;Shanghai&#8221;,&#8221;street&#8221;:&#8221;Dong Quan Street&#8221;}],&#8221;id&#8221;: &#8220;huangyim&#8221;,&#8221;name&#8221;: &#8220;Huang Yi Ming&#8221;} }I want to print only the id value in a smartGWT ListGrid.public class ExampleEntry implements EntryPoint {#Overridepublic void onModuleLoad() {DataSource dataSource = new DataSource(); dataSource.setDataFormat(DSDataFormat.JSON); dataSource.s [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3153","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3153","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=3153"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3153\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=3153"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=3153"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=3153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}