<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic JSON to table in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/json-to-table/m-p/697109#M64893</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was wondering if anyone has had any success implementing a json to html table before. I currently have an SOE that does a geometric network trace and returns all the attributes of connected features, then draws the graphics on the map. I'd like to implement a way for users to display the attributes of connected features but have been unable to get it running. I'm using Javascript since I need this website to be usable on multiple platforms.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Jun 2013 16:34:43 GMT</pubDate>
    <dc:creator>JacobKohute</dc:creator>
    <dc:date>2013-06-11T16:34:43Z</dc:date>
    <item>
      <title>JSON to table</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/json-to-table/m-p/697109#M64893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was wondering if anyone has had any success implementing a json to html table before. I currently have an SOE that does a geometric network trace and returns all the attributes of connected features, then draws the graphics on the map. I'd like to implement a way for users to display the attributes of connected features but have been unable to get it running. I'm using Javascript since I need this website to be usable on multiple platforms.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 16:34:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/json-to-table/m-p/697109#M64893</guid>
      <dc:creator>JacobKohute</dc:creator>
      <dc:date>2013-06-11T16:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: JSON to table</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/json-to-table/m-p/697110#M64894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You will have to iterate over your JSON data and build a table, e.g. if you did this in pure html:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;var html = ""; html += "&amp;lt;table border='1' width='100%'&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;headerColumn1&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;headerColumn2&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;"; for (var i = 0, il = mydata.length; i &amp;lt; il; i++) { &amp;nbsp;&amp;nbsp;&amp;nbsp; html += "&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;" + mydata&lt;I&gt;.elementA + "&amp;lt;/td&amp;gt;"; &amp;nbsp;&amp;nbsp;&amp;nbsp; html += "&amp;lt;td&amp;gt;" + mydata&lt;I&gt;.elementB&amp;nbsp; + "&amp;lt;/td&amp;gt;"; } html += "&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;";&lt;/I&gt;&lt;/I&gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;then the html could be added as the content to an infoWindow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;a more complicated example, using a dojo grid:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://developers.arcgis.com/en/javascript/jssamples/fl_paging.html" rel="nofollow" target="_blank"&gt;http://developers.arcgis.com/en/javascript/jssamples/fl_paging.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 19:05:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/json-to-table/m-p/697110#M64894</guid>
      <dc:creator>LukePhilips</dc:creator>
      <dc:date>2013-06-11T19:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: JSON to table</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/json-to-table/m-p/697111#M64895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think I like the look of the grid better. I'll give that a kick and let you know how it goes. Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 19:36:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/json-to-table/m-p/697111#M64895</guid>
      <dc:creator>JacobKohute</dc:creator>
      <dc:date>2013-06-11T19:36:53Z</dc:date>
    </item>
  </channel>
</rss>

