<?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: Clear filter in FeatureTable to show all records again in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/clear-filter-in-featuretable-to-show-all-records/m-p/1093290#M74466</link>
    <description>&lt;P&gt;Thanks a bunch! That worked!&lt;/P&gt;</description>
    <pubDate>Fri, 27 Aug 2021 20:54:38 GMT</pubDate>
    <dc:creator>mylonite</dc:creator>
    <dc:date>2021-08-27T20:54:38Z</dc:date>
    <item>
      <title>Clear filter in FeatureTable to show all records again</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/clear-filter-in-featuretable-to-show-all-records/m-p/1093286#M74464</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm working on an app that is fairly similar to this example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=highlight-features-by-geometry" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=highlight-features-by-geometry&lt;/A&gt;&lt;/P&gt;&lt;P&gt;My end users want to be able to draw on the map to select their points and have the table below filter to those results. This does that. However, when they clear the selection polygon from the map, the filter on the table isn't removed, and this is confusing to the end users.&lt;/P&gt;&lt;P&gt;Is there a way in the 4.x version of the API to clear the filter? It looks like back in 3.x there was a clearFilter() method, but this does not exist in 4.x.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Fri, 27 Aug 2021 20:43:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/clear-filter-in-featuretable-to-show-all-records/m-p/1093286#M74464</guid>
      <dc:creator>mylonite</dc:creator>
      <dc:date>2021-08-27T20:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Clear filter in FeatureTable to show all records again</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/clear-filter-in-featuretable-to-show-all-records/m-p/1093289#M74465</link>
      <description>&lt;P&gt;You can make this small addition (line 5) to clear the filtered table (this would be line 231 in the sample).&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;document
  .getElementById("clear-selection")
  .addEventListener("click", () =&amp;gt; {
    featureTable.clearSelection();
    featureTable.filterGeometry = null;
    polygonGraphicsLayer.removeAll();
  });&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Aug 2021 20:52:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/clear-filter-in-featuretable-to-show-all-records/m-p/1093289#M74465</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2021-08-27T20:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Clear filter in FeatureTable to show all records again</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/clear-filter-in-featuretable-to-show-all-records/m-p/1093290#M74466</link>
      <description>&lt;P&gt;Thanks a bunch! That worked!&lt;/P&gt;</description>
      <pubDate>Fri, 27 Aug 2021 20:54:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/clear-filter-in-featuretable-to-show-all-records/m-p/1093290#M74466</guid>
      <dc:creator>mylonite</dc:creator>
      <dc:date>2021-08-27T20:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: Clear filter in FeatureTable to show all records again</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/clear-filter-in-featuretable-to-show-all-records/m-p/1093762#M74480</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a bug in the SDK sample. We will get this fixed in the sample.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for bringing this issue to our attention,&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Undral&lt;/P&gt;</description>
      <pubDate>Mon, 30 Aug 2021 19:19:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/clear-filter-in-featuretable-to-show-all-records/m-p/1093762#M74480</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2021-08-30T19:19:03Z</dc:date>
    </item>
  </channel>
</rss>

