<?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: Show find task results in a DataGrid in AMD in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/show-find-task-results-in-a-datagrid-in-amd/m-p/684730#M63722</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey John,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have noticed that the zoom function is not working, when clicking on an item in the grid. What would I need to change in the code to achieve that?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Feb 2014 13:34:36 GMT</pubDate>
    <dc:creator>TimWitt</dc:creator>
    <dc:date>2014-02-17T13:34:36Z</dc:date>
    <item>
      <title>Show find task results in a DataGrid in AMD</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/show-find-task-results-in-a-datagrid-in-amd/m-p/684727#M63719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey everybody,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm pretty new to the JavaScript API and still have trouble translating legacy to AMD. I try to implement the &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/jssamples/find_map_datagrid.html"&gt;"Show find task results in a DataGrid"&lt;/A&gt;&lt;SPAN&gt; sample into my application, but since it is written with legacy I am having trouble implementing it into my AMD style application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anybody use this sample with their AMD application so I can take a look or maybe look &lt;/SPAN&gt;&lt;A href="http://jsfiddle.net/timw1984/R8JrE/"&gt;at my application&lt;/A&gt;&lt;SPAN&gt; and see the mistakes I made?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2014 18:30:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/show-find-task-results-in-a-datagrid-in-amd/m-p/684727#M63719</guid>
      <dc:creator>TimWitt</dc:creator>
      <dc:date>2014-02-13T18:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: Show find task results in a DataGrid in AMD</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/show-find-task-results-in-a-datagrid-in-amd/m-p/684728#M63720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i actually rewrote this the other day.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://jsfiddle.net/jagravois/s5Y83/"&gt;http://jsfiddle.net/jagravois/s5Y83/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;we'll be updating the live sample at some point too.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2014 19:10:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/show-find-task-results-in-a-datagrid-in-amd/m-p/684728#M63720</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2014-02-13T19:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Show find task results in a DataGrid in AMD</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/show-find-task-results-in-a-datagrid-in-amd/m-p/684729#M63721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the link John, guess I'll be fighting through it tomorrow &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2014 19:14:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/show-find-task-results-in-a-datagrid-in-amd/m-p/684729#M63721</guid>
      <dc:creator>TimWitt</dc:creator>
      <dc:date>2014-02-13T19:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: Show find task results in a DataGrid in AMD</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/show-find-task-results-in-a-datagrid-in-amd/m-p/684730#M63722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey John,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have noticed that the zoom function is not working, when clicking on an item in the grid. What would I need to change in the code to achieve that?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2014 13:34:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/show-find-task-results-in-a-datagrid-in-amd/m-p/684730#M63722</guid>
      <dc:creator>TimWitt</dc:creator>
      <dc:date>2014-02-17T13:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: Show find task results in a DataGrid in AMD</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/show-find-task-results-in-a-datagrid-in-amd/m-p/684731#M63723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;good catch tim.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in the console, an uncaught exception was being thrown when trying to call grid.getItem() because 'grid' was not defined.&amp;nbsp; comparing back to the original sample, i could see that we need to dig into the object returned by the event itself for our grid, so:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var clickedTaxLotId = grid.getItem(evt.rowIndex).PARCELID;
//needs to be
var clickedTaxLotId = evt.grid.getItem(evt.rowIndex).PARCELID;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sorry about that, not sure how i missed it the first time.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 04:48:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/show-find-task-results-in-a-datagrid-in-amd/m-p/684731#M63723</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2021-12-12T04:48:13Z</dc:date>
    </item>
  </channel>
</rss>

