<?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: Arcgis JS:3.20 TabContainer doesn't display in Bottom Panel in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-3-20-tabcontainer-doesn-t-display-in/m-p/536764#M50039</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are few issues you would need to address. The reason the TabContainer is not visible because, you are using the declarative method to add the Tab, but have set the parseonLoad to false. You can either set to true or user parser.parse(); second you need to add the TabContainer and ContentPane to the require so that all the necessary js files are downloaded to the client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://jsfiddle.net/ggmeu7q3/2/" title="https://jsfiddle.net/ggmeu7q3/2/"&gt;Edit fiddle - JSFiddle&lt;/A&gt; made some change to the fiddler and you can see this working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once, you have these things the TabContainer will show up properly. But, You will not see the attribute table as the height of the TabContainer is calculated as 0px. It happens because, at the time of initialization you are setting the height of the bottom panel to 0px. Now when you expand the bottom panel, you are using the jQuery to do it. it will not raise event or let the TabContainer know that the size has changed. So you would have to write code to resize the TabContainer and the FeatureTable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this was helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Apr 2017 16:01:05 GMT</pubDate>
    <dc:creator>thejuskambi</dc:creator>
    <dc:date>2017-04-11T16:01:05Z</dc:date>
    <item>
      <title>Arcgis JS:3.20 TabContainer doesn't display in Bottom Panel</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-3-20-tabcontainer-doesn-t-display-in/m-p/536763#M50038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using Arcgis JS Api 3.20 and I have a bottom panel which shows the layer's attribute tables and etc.&lt;/P&gt;&lt;P&gt;I want to use Tabcontainer in that bottom panel but didn't succeed.&lt;/P&gt;&lt;P&gt;Here is my code ( I use esri layers for this example not my own &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://jsfiddle.net/gis_girl/ggmeu7q3/" title="https://jsfiddle.net/gis_girl/ggmeu7q3/"&gt;Edit fiddle - JSFiddle&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know how to use Attribute Table widget, so I decided to write my own one &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt; However I got stuck with first step.&lt;/P&gt;&lt;P&gt;I am new to Javascript and Dojo, so any help would be much appreciated. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 15:16:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-3-20-tabcontainer-doesn-t-display-in/m-p/536763#M50038</guid>
      <dc:creator>gisdeveloper</dc:creator>
      <dc:date>2017-04-11T15:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Arcgis JS:3.20 TabContainer doesn't display in Bottom Panel</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-3-20-tabcontainer-doesn-t-display-in/m-p/536764#M50039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are few issues you would need to address. The reason the TabContainer is not visible because, you are using the declarative method to add the Tab, but have set the parseonLoad to false. You can either set to true or user parser.parse(); second you need to add the TabContainer and ContentPane to the require so that all the necessary js files are downloaded to the client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://jsfiddle.net/ggmeu7q3/2/" title="https://jsfiddle.net/ggmeu7q3/2/"&gt;Edit fiddle - JSFiddle&lt;/A&gt; made some change to the fiddler and you can see this working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once, you have these things the TabContainer will show up properly. But, You will not see the attribute table as the height of the TabContainer is calculated as 0px. It happens because, at the time of initialization you are setting the height of the bottom panel to 0px. Now when you expand the bottom panel, you are using the jQuery to do it. it will not raise event or let the TabContainer know that the size has changed. So you would have to write code to resize the TabContainer and the FeatureTable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this was helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 16:01:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-3-20-tabcontainer-doesn-t-display-in/m-p/536764#M50039</guid>
      <dc:creator>thejuskambi</dc:creator>
      <dc:date>2017-04-11T16:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Arcgis JS:3.20 TabContainer doesn't display in Bottom Panel</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-3-20-tabcontainer-doesn-t-display-in/m-p/536765#M50040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;I did "parseonLoad=false" on purpose because I have Esri Measure module and if I do parser.parse() or parseonLoad=true program sends error like "dojo/parser::parse() error Error: Tried to register widget with id==dijit_layout_ContentPane_0 but that id is already registered". (TabContainer's ContentPane and Esri's ContentPane registers same id. I don't know the reason)&lt;/P&gt;&lt;P&gt;I have searched this error so many times and got the solution to change parseonLoad=false&amp;nbsp; &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Do I have to write TabContainer and all its ContentPane's on programmatic like "var tc=new TabContainer".&lt;/P&gt;&lt;P&gt;I just don't know what to do for skip this error. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 18:34:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-3-20-tabcontainer-doesn-t-display-in/m-p/536765#M50040</guid>
      <dc:creator>gisdeveloper</dc:creator>
      <dc:date>2017-04-11T18:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Arcgis JS:3.20 TabContainer doesn't display in Bottom Panel</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-3-20-tabcontainer-doesn-t-display-in/m-p/536766#M50041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you look at the dojo documentation, the declarative style works only when you are using parser.parse(). Without which the TabContainer will not be parsed.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Declarative refers to using the &lt;CODE&gt;dojo/parser&lt;/CODE&gt; to read the DOM and parse out nodes that have been decorated with special attributes as well as interpreting certain &lt;CODE&gt;&amp;lt;script&amp;gt;&lt;/CODE&gt; tags to extend the behavior of widgets.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;A class="link-titled" href="https://dojotoolkit.org/documentation/tutorials/1.10/declarative/" title="https://dojotoolkit.org/documentation/tutorials/1.10/declarative/"&gt;Using Declarative Syntax - Dojo Toolkit Tutorial&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the conflict you are facing with Measure, I have not seen it earlier. I shall try to create a sample and check it out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 18:50:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-3-20-tabcontainer-doesn-t-display-in/m-p/536766#M50041</guid>
      <dc:creator>thejuskambi</dc:creator>
      <dc:date>2017-04-11T18:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Arcgis JS:3.20 TabContainer doesn't display in Bottom Panel</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-3-20-tabcontainer-doesn-t-display-in/m-p/536767#M50042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the late response, I don't know how I didn't see this (my fault &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/sad.png" /&gt; ) but I have to thank you for your help. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;First of all I was using&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;var dojoConfig = { parseOnLoad: true } but I changed it parseOnLoad: false and I use "dojo/parser" , parser.parse(); in my Measurement module.&lt;/P&gt;&lt;P&gt;(I wrote "parser.parse();" in wrong module &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/sad.png" /&gt; Shame on me.)&lt;/P&gt;&lt;P&gt;And my TabContainer and my Measurement module had successfully worked together. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2017 11:04:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-3-20-tabcontainer-doesn-t-display-in/m-p/536767#M50042</guid>
      <dc:creator>gisdeveloper</dc:creator>
      <dc:date>2017-04-12T11:04:11Z</dc:date>
    </item>
  </channel>
</rss>

