<?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 Re: Find Task/DataGrid question in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/find-task-datagrid-question/m-p/627397#M58547</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Josh,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First, dojox/grid/DataGrid is depreciated. Use &lt;/SPAN&gt;&lt;A href="http://dojofoundation.org/packages/dgrid/"&gt;dgrid&lt;/A&gt;&lt;SPAN&gt;. The esrijs api includes dgrid. Examples of it's use can be found in the esrijs samples.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Use dojo/store/Memory with dgrid. You can add as many pairs to a data item as you want (including your graphic object), not just the attributes for the columns. The row click event will return all the data, and in your case clear the graphics layer and add the graphic from the clicked row to the layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Been awhile since I used dojo/data/ItemFileReadStore but I think the above concept could be used with it as well. But do consider switching to dgrid. It's awesome.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jun 2014 02:35:50 GMT</pubDate>
    <dc:creator>BenFousek</dc:creator>
    <dc:date>2014-06-19T02:35:50Z</dc:date>
    <item>
      <title>Find Task/DataGrid question</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/find-task-datagrid-question/m-p/627396#M58546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello All-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;...I am trying to modify this sample (&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/jssamples/find_map_datagrid.html"&gt;https://developers.arcgis.com/javascript/jssamples/find_map_datagrid.html&lt;/A&gt;&lt;SPAN&gt;) so that the graphic is added to the map when the row in the datagrid is clicked (in the onRowClickHandler function) instead of adding all the graphics for the entire search when the datagrid is populated. Any suggestions would be greatly appreciated!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -Josh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 23:37:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/find-task-datagrid-question/m-p/627396#M58546</guid>
      <dc:creator>JoshuaPersson</dc:creator>
      <dc:date>2014-06-18T23:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Find Task/DataGrid question</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/find-task-datagrid-question/m-p/627397#M58547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Josh,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First, dojox/grid/DataGrid is depreciated. Use &lt;/SPAN&gt;&lt;A href="http://dojofoundation.org/packages/dgrid/"&gt;dgrid&lt;/A&gt;&lt;SPAN&gt;. The esrijs api includes dgrid. Examples of it's use can be found in the esrijs samples.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Use dojo/store/Memory with dgrid. You can add as many pairs to a data item as you want (including your graphic object), not just the attributes for the columns. The row click event will return all the data, and in your case clear the graphics layer and add the graphic from the clicked row to the layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Been awhile since I used dojo/data/ItemFileReadStore but I think the above concept could be used with it as well. But do consider switching to dgrid. It's awesome.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 02:35:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/find-task-datagrid-question/m-p/627397#M58547</guid>
      <dc:creator>BenFousek</dc:creator>
      <dc:date>2014-06-19T02:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: Find Task/DataGrid question</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/find-task-datagrid-question/m-p/627398#M58548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Josh,&lt;BR /&gt;&lt;BR /&gt;First, dojox/grid/DataGrid is depreciated. Use &lt;A href="http://dojofoundation.org/packages/dgrid/"&gt;dgrid&lt;/A&gt;. The esrijs api includes dgrid. Examples of it's use can be found in the esrijs samples.&lt;BR /&gt;&lt;BR /&gt;Use dojo/store/Memory with dgrid. You can add as many pairs to a data item as you want (including your graphic object), not just the attributes for the columns. The row click event will return all the data, and in your case clear the graphics layer and add the graphic from the clicked row to the layer.&lt;BR /&gt;&lt;BR /&gt;Been awhile since I used dojo/data/ItemFileReadStore but I think the above concept could be used with it as well. But do consider switching to dgrid. It's awesome.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Ben- I'll check it out!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; -Josh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 18:01:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/find-task-datagrid-question/m-p/627398#M58548</guid>
      <dc:creator>JoshuaPersson</dc:creator>
      <dc:date>2014-06-19T18:01:36Z</dc:date>
    </item>
  </channel>
</rss>

