<?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: Destroy and recreate new filteringselect in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/destroy-and-recreate-new-filteringselect/m-p/302485#M27783</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found it!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dijit.byId('myFilteringSelect').set("store", myStore)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Mar 2019 16:39:38 GMT</pubDate>
    <dc:creator>RobertKirkwood</dc:creator>
    <dc:date>2019-03-18T16:39:38Z</dc:date>
    <item>
      <title>Destroy and recreate new filteringselect</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/destroy-and-recreate-new-filteringselect/m-p/302479#M27777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have my services at 10.3, so I can't use the search widget las a find to search through my data.&amp;nbsp; Instead, I'm creating my own version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to have an input field that allows the user to enter in part of a school name.&amp;nbsp; Based on the string they enter, I want to display a list of elements that include what they entered.&amp;nbsp; This becomes a filteringselect they can choose from.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works for the first pass.&amp;nbsp; My sequence for destroying the previous filteringselect and creating a new one is off.&amp;nbsp; I thought I could wrap it in a div tag and use domConstruct.empty('searchDivName').&amp;nbsp; However when I attempt to create a new filteringselect, I'm getting one of those 'Tried to register widget with id XXX, but this is already registered' errors.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought if I just emptied the div that contained the original filteringselect, I'd be OK.&amp;nbsp; Maybe I'm trying to destroy the wrong element?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;div id="toolDiv"&amp;gt;
&amp;lt;label for="txtSchool &amp;gt; School Search &amp;lt;/label&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;input id="txtSchool" type="text" placeHolder='Enter school' /&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div id="schoolSearchDiv" &amp;gt;&amp;nbsp; &amp;lt;/div&amp;gt;
&amp;nbsp; &amp;lt;div id="schoolNote" class="tip" &amp;gt;&amp;lt;/div&amp;gt;
 &amp;lt;/div&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;event listener&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp; on(dom.byId("txtSchool"), "keydown", function(evt){
&amp;nbsp;&amp;nbsp;&amp;nbsp; switch (evt.keyCode){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case keys.ENTER:
&amp;nbsp; var tbVal = evt.target.value
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log("You entered: " + tbVal );
&amp;nbsp;&amp;nbsp; mySchoolSelect.createSelect(tbVal,app.pointLayer);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; default:
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp; });&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mySchoolSelect.js that executes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;define ([&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; "dojo/on",
&amp;nbsp;&amp;nbsp;&amp;nbsp; "dojo/dom",
&amp;nbsp; "dojo/dom-construct",
&amp;nbsp; "dojo/dom-class",
&amp;nbsp; "dojo/_base/array",
&amp;nbsp;&amp;nbsp;&amp;nbsp; "dijit/registry", 
&amp;nbsp;&amp;nbsp;&amp;nbsp; "dojo/store/Memory",
&amp;nbsp;&amp;nbsp;&amp;nbsp; "dijit/form/FilteringSelect",
&amp;nbsp;&amp;nbsp;&amp;nbsp; "esri/tasks/query",
&amp;nbsp;&amp;nbsp;&amp;nbsp; "esri/tasks/QueryTask",
&amp;nbsp;&amp;nbsp;&amp;nbsp; "esri/tasks/FindParameters",
&amp;nbsp;&amp;nbsp;&amp;nbsp; "esri/tasks/FindTask"
&amp;nbsp;&amp;nbsp;&amp;nbsp; ], function (&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; on,dom,domConstruct, domClass, arrayUtils, registry,Memory,FilteringSelect,Query,QueryTask,
&amp;nbsp;&amp;nbsp; FindParameters,FindTask
&amp;nbsp;&amp;nbsp;&amp;nbsp; ) {&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; return {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; createSelect: function(tbVal,pointLayer){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; domConstruct.empty('schoolSearchDiv');
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var selectList = [];
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var urlPath = pointLayer.url;&amp;nbsp; //creates the proper url for findtask from a featurelayer url
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var urlLen = urlPath.length;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var lastPos = urlPath.lastIndexOf("/");
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var findUrl = urlPath.substr(0, lastPos);
&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; var findTask = new FindTask(findUrl);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; findParams = new FindParameters();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; findParams.returnGeometry = false;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; findParams.layerIds = [0];&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; findParams.searchFields = ['Facility']; //Fields are CASE SENSITIVE
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; findParams.outSpatialReference = app.spatialReference;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; findParams.searchText = tbVal;


&amp;nbsp; findTask.execute(findParams).then(function(results){
&amp;nbsp; if (results.length &amp;lt; 1) {
&amp;nbsp;&amp;nbsp;&amp;nbsp; alert("No matches found for " + tbVal);
&amp;nbsp; dom.byId("schoolNote").innerHTML = "No matches found";
&amp;nbsp; }else {
&amp;nbsp; console.log("You found " + results.length + " matches");&amp;nbsp; 
&amp;nbsp; dom.byId("schoolNote").innerHTML = results.length + " matches found, please select one";

&amp;nbsp; domConstruct.create("input", {id: 'schoolSelDiv' }, "schoolSearchDiv" );
&amp;nbsp; selectList.length = 0;

&amp;nbsp; arrayUtils.forEach(results, function(r){
&amp;nbsp; var name = r.feature.attributes.Facility + " - " + r.feature.attributes.City;
&amp;nbsp; var val = r.feature.attributes.CtyDist;
&amp;nbsp; selectList.push({
&amp;nbsp; label: name,
&amp;nbsp; value: val
&amp;nbsp; });
&amp;nbsp; })
&amp;nbsp; selectList.sort(function(item1, item2){
&amp;nbsp; var label1 = item1.label.toLowerCase(), label2 = item2.label.toLowerCase();
&amp;nbsp; return (label1 &amp;gt; label2) ? 1 : (label1 &amp;lt; label2) ? -1 : 0;
&amp;nbsp; });

&amp;nbsp; var dataStore = new Memory({
&amp;nbsp; data: selectList,
&amp;nbsp; idProperty: "value"
&amp;nbsp; });

&amp;nbsp; var mySelect = new FilteringSelect({
&amp;nbsp; id: 'schoolSelect',
&amp;nbsp; placeHolder: 'Pick one',
&amp;nbsp; ignoreCase: true,
&amp;nbsp; queryExpr: '${0}*',
&amp;nbsp; maxHeight: 200,
&amp;nbsp; store: dataStore,
&amp;nbsp; searchAttr: 'label'
&amp;nbsp; }, "schoolSelDiv");

&amp;nbsp; mySelect.startup();


&amp;nbsp; on(mySelect, 'change', function(){
&amp;nbsp; var selectedCode = mySelect.value;
&amp;nbsp; console.log("mySelectchange event, selected value: " + selectedCode);
&amp;nbsp; dom.byId("schoolNote").innerHTML = "";
&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; function errorHandler(err){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log("error on populate Dropdown, queryTask, error: " + err.details);
&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; }
});&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 14:30:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/destroy-and-recreate-new-filteringselect/m-p/302479#M27777</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2021-12-11T14:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Destroy and recreate new filteringselect</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/destroy-and-recreate-new-filteringselect/m-p/302480#M27778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tracy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; When I have to create, destory, and re-create a dijit I always wrap it in a holder div and then use domConstruct.empty on that holder div and add back the re-created dijit to the holder div.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2016 20:45:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/destroy-and-recreate-new-filteringselect/m-p/302480#M27778</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-06-24T20:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Destroy and recreate new filteringselect</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/destroy-and-recreate-new-filteringselect/m-p/302481#M27779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's what I think I'm doing with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #5c5c5c; font-size: 10pt;"&gt;domConstruct.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;empty&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #00a600; font-size: 10pt;"&gt;'schoolSearchDiv'&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: 10pt;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #5c5c5c; font-size: 10pt;"&gt;I'm confused on whether or not I need to create a plain dom 'input' to use before I create my filteringSelect.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #5c5c5c; font-size: 10pt;"&gt;domConstruct.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;create&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #00a600; font-size: 10pt;"&gt;"input"&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: 10pt;"&gt;{&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;id&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: 10pt;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #00a600; font-size: 10pt;"&gt;'schoolSelDiv'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: 10pt;"&gt;},&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #00a600; font-size: 10pt;"&gt;"schoolSearchDiv"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: 10pt;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var mySelect = new FilteringSelect({&lt;/P&gt;&lt;P&gt;id:'schoolSelect',&lt;/P&gt;&lt;P&gt;placeHolder: 'Pick one',&lt;/P&gt;&lt;P&gt;ignoreCase: true,&lt;/P&gt;&lt;P&gt;queryExpr: '${0}*',&lt;/P&gt;&lt;P&gt;maxHeight: 200,&lt;/P&gt;&lt;P&gt;store: dataStore,&lt;/P&gt;&lt;P&gt;searchAttr: 'label'&lt;/P&gt;&lt;P&gt;}, "schoolSelDiv");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #5c5c5c; font-size: 10pt;"&gt;I hope to catch some error on what I'm calling the new dom elements I'm creating and which I'm telling it to destroy/empty.&amp;nbsp;&amp;nbsp; I am seeing the original filteringselect get removed during domConstruct.empty.&amp;nbsp; It seems to be creating a new empty input DOM element, prior to the new FilteringSelect, but then I'm getting the widget register ID error.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #5c5c5c; font-size: 10pt;"&gt;Here's a link: &lt;A href="https://ogitest.oa.mo.gov/DHSS/samples/findSchDistrict_bySchool/index.html" title="https://ogitest.oa.mo.gov/DHSS/samples/findSchDistrict_bySchool/index.html"&gt;Find District by School&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2016 21:14:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/destroy-and-recreate-new-filteringselect/m-p/302481#M27779</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2016-06-24T21:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: Destroy and recreate new filteringselect</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/destroy-and-recreate-new-filteringselect/m-p/302482#M27780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One way to avoid the error is by not assigning an id, that way a new unique id is generated each time; this works ok as long as you don't need to know the id of the FilteringSelect, as for example when trying to find it via registry.byId(...).&amp;nbsp; However, a better solution is to create the FilteringSelect once and then just set the store property whenever you create a new store.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jun 2016 16:49:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/destroy-and-recreate-new-filteringselect/m-p/302482#M27780</guid>
      <dc:creator>JohnGrayson</dc:creator>
      <dc:date>2016-06-25T16:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Destroy and recreate new filteringselect</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/destroy-and-recreate-new-filteringselect/m-p/302483#M27781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the end I separated the creation and populating of the filtering select, so I only created it one time, and after that just populated it.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt; // search for school by name, used to identify district &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; on(dom.byId("txtSchool"), "keydown", function(evt){&lt;/P&gt;&lt;P&gt;&amp;nbsp; if (!app.mySelect) {&amp;nbsp; //creates a new empty filteringselect, assuming 1st time usage of this option&lt;/P&gt;&lt;P&gt;&amp;nbsp; mySchoolSelect.initSelect();&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; switch (evt.keyCode){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case keys.ENTER:&lt;/P&gt;&lt;P&gt;&amp;nbsp; var tbVal = evt.target.value&lt;/P&gt;&lt;P&gt;//searches schoollayer for name containing string, populates filteringselect with only those that match&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; mySchoolSelect.populateSelect(tbVal,app.schoolLayer); &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; default:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; });&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2016 14:09:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/destroy-and-recreate-new-filteringselect/m-p/302483#M27781</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2016-07-25T14:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: Destroy and recreate new filteringselect</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/destroy-and-recreate-new-filteringselect/m-p/302484#M27782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;john,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do i go about setting the property of the store? I am trying to refresh the store after the user saves a new record. I am creating the filtering select only once. However, when I save the data to the data base i am having difficulty refreshing the store in the filtering select even when i rerun the query&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2019 16:23:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/destroy-and-recreate-new-filteringselect/m-p/302484#M27782</guid>
      <dc:creator>RobertKirkwood</dc:creator>
      <dc:date>2019-03-18T16:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: Destroy and recreate new filteringselect</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/destroy-and-recreate-new-filteringselect/m-p/302485#M27783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found it!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dijit.byId('myFilteringSelect').set("store", myStore)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2019 16:39:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/destroy-and-recreate-new-filteringselect/m-p/302485#M27783</guid>
      <dc:creator>RobertKirkwood</dc:creator>
      <dc:date>2019-03-18T16:39:38Z</dc:date>
    </item>
  </channel>
</rss>

