<?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 Show Find Task results in DataGrid-JS API 3.1/AGS 10 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/show-find-task-results-in-datagrid-js-api-3-1-ags/m-p/753676#M69669</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm running into an issue where I'm not able to return a list of results into a data grid.&amp;nbsp; I'm able to make the code work from the "Show Find Task results in DataGrid" section in the Samples section.&amp;nbsp; So originally I used the text box to enter criteria.&amp;nbsp; Works fine.&amp;nbsp; I then decided I needed to control the criteria entered and sent so I replaced the text box with an input select.&amp;nbsp; It works while keeping the form element's ID the same-makes sense.&amp;nbsp; However when I change the input select to a dojo input filteringselect it fails to return the data into the data grid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Sends criteria and return rows:&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;input type="text" id="ownerName" size="60" value="Katz" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Sends criteria and return rows:&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;select id="ownerName"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;option value="1"&amp;gt;1&amp;lt;/option&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;..........&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;...........&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN style="text-decoration:underline;"&gt;Doesn't&lt;/SPAN&gt; return rows:&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;dojo.require("dijit.form.Select");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;select id="ownerName"&amp;nbsp; data-dojo-type="dijit.form.FilteringSelect"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;option value="1"&amp;gt;1&amp;lt;/option&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;..........&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;...........&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It appears the criteria is being sent as I can see it when I wrap JS alerts around the values:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;alert(dojo.byId("ownerName").value);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;alert(findParams.searchText);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It appears the grid load fails grid here: grid.setStore(store);&amp;nbsp; I'm developing and testing to IE8.&amp;nbsp; Using Firebug in FF it appears the store variable doesn't contain the records.&amp;nbsp; I'm not getting any errors so hopefully it's an easy fix.&amp;nbsp; Any help would be great.&amp;nbsp; Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Aug 2012 14:50:44 GMT</pubDate>
    <dc:creator>JK</dc:creator>
    <dc:date>2012-08-23T14:50:44Z</dc:date>
    <item>
      <title>Show Find Task results in DataGrid-JS API 3.1/AGS 10</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/show-find-task-results-in-datagrid-js-api-3-1-ags/m-p/753676#M69669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm running into an issue where I'm not able to return a list of results into a data grid.&amp;nbsp; I'm able to make the code work from the "Show Find Task results in DataGrid" section in the Samples section.&amp;nbsp; So originally I used the text box to enter criteria.&amp;nbsp; Works fine.&amp;nbsp; I then decided I needed to control the criteria entered and sent so I replaced the text box with an input select.&amp;nbsp; It works while keeping the form element's ID the same-makes sense.&amp;nbsp; However when I change the input select to a dojo input filteringselect it fails to return the data into the data grid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Sends criteria and return rows:&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;input type="text" id="ownerName" size="60" value="Katz" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Sends criteria and return rows:&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;select id="ownerName"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;option value="1"&amp;gt;1&amp;lt;/option&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;..........&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;...........&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN style="text-decoration:underline;"&gt;Doesn't&lt;/SPAN&gt; return rows:&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;dojo.require("dijit.form.Select");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;select id="ownerName"&amp;nbsp; data-dojo-type="dijit.form.FilteringSelect"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;option value="1"&amp;gt;1&amp;lt;/option&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;..........&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;...........&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It appears the criteria is being sent as I can see it when I wrap JS alerts around the values:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;alert(dojo.byId("ownerName").value);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;alert(findParams.searchText);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It appears the grid load fails grid here: grid.setStore(store);&amp;nbsp; I'm developing and testing to IE8.&amp;nbsp; Using Firebug in FF it appears the store variable doesn't contain the records.&amp;nbsp; I'm not getting any errors so hopefully it's an easy fix.&amp;nbsp; Any help would be great.&amp;nbsp; Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2012 14:50:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/show-find-task-results-in-datagrid-js-api-3-1-ags/m-p/753676#M69669</guid>
      <dc:creator>JK</dc:creator>
      <dc:date>2012-08-23T14:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: Show Find Task results in DataGrid-JS API 3.1/AGS 10</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/show-find-task-results-in-datagrid-js-api-3-1-ags/m-p/753677#M69670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Found the issue.&amp;nbsp; I replaced findParams.searchText = dojo.byId("ownerName").value; with findParams.searchText = dijit.byId("ownerName").value;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2012 16:02:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/show-find-task-results-in-datagrid-js-api-3-1-ags/m-p/753677#M69670</guid>
      <dc:creator>JK</dc:creator>
      <dc:date>2012-08-23T16:02:23Z</dc:date>
    </item>
  </channel>
</rss>

