<?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: Enhanced Search Widget Code Question in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/enhanced-search-widget-code-question/m-p/102310#M2359</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jim,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Hope I remember how this works!;) I think it is there in these lines when the queryFeaturesText or the QueryFeaturesGraphical function are run.&lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;if (myfloatdg){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(myfloatdg.datagrid.dataProvider)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myfloatdg.datagrid.dataProvider.removeAll();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myfloatdg.csvName = _csvName;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myfloatdg.dgAliases = fldAliases;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myfloatdg.dgColumns = gridFields;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myfloatdg.dgHyperColumns = gridHyperFields;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myfloatdg.showHyperAlias = gridHyperFieldsAlias;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myfloatdg.dProvider = gridDataProvider;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myfloatdg.graphicslayer = graphicsLayer;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myfloatdg.zoomScale = zoomScale;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myfloatdg.ownerWidget = sWidget;&lt;/PRE&gt;&lt;SPAN&gt; basically I clear the datagrid of all info and field structure and then re-assign them.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 06:18:39 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2021-12-11T06:18:39Z</dc:date>
    <item>
      <title>Enhanced Search Widget Code Question</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/enhanced-search-widget-code-question/m-p/102309#M2358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This question is probably best answered by Robert, if not only answerable by Robert. For the sake of my education if not also sanity, can you tell me what portion of either the SearchWidget or SearchWidgetFloatingdg pertains to the bug fix regarding populating an open floating datagrid when changing the data with a new search? I believe this happened in version 1.06. I am deriving a floating datagrid for another widget, and I haven't been able to find a way to populate the open datagrid when changing the data returned by the query.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jim Faron&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Apr 2010 19:50:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/enhanced-search-widget-code-question/m-p/102309#M2358</guid>
      <dc:creator>JamesFaron</dc:creator>
      <dc:date>2010-04-28T19:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: Enhanced Search Widget Code Question</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/enhanced-search-widget-code-question/m-p/102310#M2359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jim,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Hope I remember how this works!;) I think it is there in these lines when the queryFeaturesText or the QueryFeaturesGraphical function are run.&lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;if (myfloatdg){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(myfloatdg.datagrid.dataProvider)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myfloatdg.datagrid.dataProvider.removeAll();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myfloatdg.csvName = _csvName;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myfloatdg.dgAliases = fldAliases;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myfloatdg.dgColumns = gridFields;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myfloatdg.dgHyperColumns = gridHyperFields;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myfloatdg.showHyperAlias = gridHyperFieldsAlias;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myfloatdg.dProvider = gridDataProvider;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myfloatdg.graphicslayer = graphicsLayer;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myfloatdg.zoomScale = zoomScale;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myfloatdg.ownerWidget = sWidget;&lt;/PRE&gt;&lt;SPAN&gt; basically I clear the datagrid of all info and field structure and then re-assign them.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 06:18:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/enhanced-search-widget-code-question/m-p/102310#M2359</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-11T06:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Enhanced Search Widget Code Question</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/enhanced-search-widget-code-question/m-p/102311#M2360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, that was it. I was close: I did not include the myfloatdg.graphicslayer = graphicsLayer; , I only input the columns and aliases below 'myfloatdg.datagrid.dataProvider.removeAll();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again for the help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jim Faron&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Austin Independent School District&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Austin, TX&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Apr 2010 12:13:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/enhanced-search-widget-code-question/m-p/102311#M2360</guid>
      <dc:creator>JamesFaron</dc:creator>
      <dc:date>2010-04-30T12:13:18Z</dc:date>
    </item>
  </channel>
</rss>

