<?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: duplicate tabs dynamically? in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/duplicate-tabs-dynamically/m-p/228607#M5397</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's just an empty canvas&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="410" height="240"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;/mx:Canvas&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 11:07:08 GMT</pubDate>
    <dc:creator>KenBuja</dc:creator>
    <dc:date>2021-12-11T11:07:08Z</dc:date>
    <item>
      <title>duplicate tabs dynamically?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/duplicate-tabs-dynamically/m-p/228602#M5392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don???t if it is possible, but I will ask anyway. I hope it makes sense what it follows???&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the tabbar and viewstack to create tabs for different layers. The first tab will be created initially and the others will be created dynamically. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The first tab will host a datagrid with the attributes for one layer. Also some mouse event actions will be present to provide user experience when they browse over the datagrid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the question. When the second tab is dynamically created, can a datagrid be placed and with the functions that are under the first tab to be under the second tab as well (for example the mouse events) so the user experience will be the same.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, essentially it is more like a template to be adapted for each tab.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your thoughts?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 04:00:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/duplicate-tabs-dynamically/m-p/228602#M5392</guid>
      <dc:creator>LefterisKoumis</dc:creator>
      <dc:date>2014-03-04T04:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: duplicate tabs dynamically?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/duplicate-tabs-dynamically/m-p/228603#M5393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Lefteris,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Sure if you do not make any of those functions specific to the template tab or datagrid. So if your rollover event use the function event like event.target as DataGrid instead of hard coding the datagrid to a specific id. You can have all your tabs using the same couple of functions.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 11:04:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/duplicate-tabs-dynamically/m-p/228603#M5393</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-03-04T11:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: duplicate tabs dynamically?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/duplicate-tabs-dynamically/m-p/228604#M5394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Lefteris,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Sure if you do not make any of those functions specific to the template tab or datagrid. So if you rollover event use the function event like event.target as DataGrid instead of hard coding the datagrid to a specific id. You can have all your tab using the same couple of functions.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you Robert. I thought the&amp;nbsp; creationpolicy could be my answer, but I totally misunderstood it, since it just instantiates existing hard coded objects.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 15:23:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/duplicate-tabs-dynamically/m-p/228604#M5394</guid>
      <dc:creator>LefterisKoumis</dc:creator>
      <dc:date>2014-03-04T15:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: duplicate tabs dynamically?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/duplicate-tabs-dynamically/m-p/228605#M5395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Lefteris,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was able to dynamically create tabs that contain DataGrids. These grids contain the results of a IndentifyTask for each visible layer in a map. As each tab was added, an event listener was added for such events as ListEvent.ITEM_CLICK, ListEvent.ITEM_ROLL_OUT, etc. These listeners pointed to the same functions so that when the user did something like click on a row in a grid, it would highlight the feature on the map for that individual layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I put the code in a thread in GIS.StackExhange &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://gis.stackexchange.com/questions/12321/identify-all-layers-on-the-map-without-pre-designing-the-infowindow" rel="nofollow" target="_blank"&gt;here&lt;/A&gt;&lt;SPAN&gt;. Unfortunately, the link to the working example is no longer valid, since the project was ported over to JavaScript.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 15:33:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/duplicate-tabs-dynamically/m-p/228605#M5395</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2014-03-04T15:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: duplicate tabs dynamically?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/duplicate-tabs-dynamically/m-p/228606#M5396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Lefteris,&lt;BR /&gt;&lt;BR /&gt;I was able to dynamically create tabs that contain DataGrids. These grids contain the results of a IndentifyTask for each visible layer in a map. As each tab was added, an event listener was added for such events as ListEvent.ITEM_CLICK, ListEvent.ITEM_ROLL_OUT, etc. These listeners pointed to the same functions so that when the user did something like click on a row in a grid, it would highlight the feature on the map for that individual layer.&lt;BR /&gt;&lt;BR /&gt;I put the code in a thread in GIS.StackExhange &lt;A href="http://gis.stackexchange.com/questions/12321/identify-all-layers-on-the-map-without-pre-designing-the-infowindow"&gt;here&lt;/A&gt;. Unfortunately, the link to the working example is no longer valid, since the project was ported over to JavaScript.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you Ken. That was very helpful. Do you have by any chance the myInfoRenderer scipt? I just wanted to see how you structure the infowindow. Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 16:01:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/duplicate-tabs-dynamically/m-p/228606#M5396</guid>
      <dc:creator>LefterisKoumis</dc:creator>
      <dc:date>2014-03-06T16:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: duplicate tabs dynamically?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/duplicate-tabs-dynamically/m-p/228607#M5397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's just an empty canvas&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="410" height="240"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;/mx:Canvas&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 11:07:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/duplicate-tabs-dynamically/m-p/228607#M5397</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2021-12-11T11:07:08Z</dc:date>
    </item>
  </channel>
</rss>

