<?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: Trap the Suggest List before it displays. in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trap-the-suggest-list-before-it-displays/m-p/637003#M59531</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I have not tried this personally but the normal way would be to listen for the suggest-complete event&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-bare" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html#event-suggest-complete" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html#event-suggest-complete"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html#event-suggest-complete&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and&amp;nbsp;work with the result property.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Oct 2020 13:14:35 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2020-10-20T13:14:35Z</dc:date>
    <item>
      <title>Trap the Suggest List before it displays.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trap-the-suggest-list-before-it-displays/m-p/637002#M59530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Javascript API, v4.16&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trying to sort the Search Suggestion list beyond a field ASC or DESC.&amp;nbsp; But first, how do I grab the list before it's displayed?&lt;/P&gt;&lt;P&gt;I need the list, sort it based on my criteria, then display it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I get to that list before it's displayed?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2020 13:03:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trap-the-suggest-list-before-it-displays/m-p/637002#M59530</guid>
      <dc:creator>AlexRodriguez</dc:creator>
      <dc:date>2020-10-20T13:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: Trap the Suggest List before it displays.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trap-the-suggest-list-before-it-displays/m-p/637003#M59531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I have not tried this personally but the normal way would be to listen for the suggest-complete event&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-bare" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html#event-suggest-complete" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html#event-suggest-complete"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html#event-suggest-complete&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and&amp;nbsp;work with the result property.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2020 13:14:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trap-the-suggest-list-before-it-displays/m-p/637003#M59531</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-10-20T13:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: Trap the Suggest List before it displays.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trap-the-suggest-list-before-it-displays/m-p/637004#M59532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&amp;nbsp; &amp;nbsp;I've looked at that and that's what I'm playing with now.&amp;nbsp; But isn't the SUGGEST LIST already displayed by this time?&lt;BR /&gt;I'm going to take that list, sort it, then display it again.&amp;nbsp; I'd like to sort it before it gets displayed so the user doesn't have to wait for a 2nd display.&amp;nbsp; Is that possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2020 13:24:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trap-the-suggest-list-before-it-displays/m-p/637004#M59532</guid>
      <dc:creator>AlexRodriguez</dc:creator>
      <dc:date>2020-10-20T13:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: Trap the Suggest List before it displays.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trap-the-suggest-list-before-it-displays/m-p/637005#M59533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;The only events you have are suggest-start and suggest-complete. The search widgets listens to these and builds the results list from those events. I am not sure how to accomplish what you are attempting. Maybe work with the suggestions property&lt;/P&gt;&lt;P&gt;&lt;A class="link-bare" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html#suggestions" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html#suggestions"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html#suggestions&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;inside the listener of one of those events.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2020 13:35:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trap-the-suggest-list-before-it-displays/m-p/637005#M59533</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-10-20T13:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Trap the Suggest List before it displays.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trap-the-suggest-list-before-it-displays/m-p/637006#M59534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2020 13:37:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trap-the-suggest-list-before-it-displays/m-p/637006#M59534</guid>
      <dc:creator>AlexRodriguez</dc:creator>
      <dc:date>2020-10-20T13:37:53Z</dc:date>
    </item>
  </channel>
</rss>

