<?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: Turn off that second scrollbar in dgrid? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/turn-off-that-second-scrollbar-in-dgrid/m-p/161302#M15035</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;Got it! Thanks, I'm a bit new at some of these things. Using Chrome's dev tools, found that this is how one turns off overflow scrollbar:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;.dijitContentPane {
&amp;nbsp; overflow: hidden:
}&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, this turns off all the overflow scrollbars on all ContentPanes, some I do not want turned off (but this is still good to know in the future).&lt;/P&gt;&lt;P&gt;So I just added an inline css to the ContentPane holding my dgrid and works great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;div data-dojo-id="bottomGridPane" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="splitter:'true', region:'bottom'" 
style="height: 240px; overflow: hidden;"&amp;gt;


&amp;nbsp; &amp;lt;div id="divGridActivities"&amp;gt;&amp;lt;/div&amp;gt;


&amp;nbsp; &amp;lt;/div&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much for your help, much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 08:28:53 GMT</pubDate>
    <dc:creator>DavidChrest</dc:creator>
    <dc:date>2021-12-11T08:28:53Z</dc:date>
    <item>
      <title>Turn off that second scrollbar in dgrid?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/turn-off-that-second-scrollbar-in-dgrid/m-p/161298#M15031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to turn off that second scrollbar in the dgid? The one furthest to the right. It seems to have no use and creates an unwanted margin.&lt;/P&gt;&lt;P&gt;I found lots that can be done with the dgrid in css but nothing on this large scrollbar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/132209_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 04:53:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/turn-off-that-second-scrollbar-in-dgrid/m-p/161298#M15031</guid>
      <dc:creator>DavidChrest</dc:creator>
      <dc:date>2015-10-19T04:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: Turn off that second scrollbar in dgrid?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/turn-off-that-second-scrollbar-in-dgrid/m-p/161299#M15032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; you need to set the css overflow on the grids parent div to be hidden.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 12:04:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/turn-off-that-second-scrollbar-in-dgrid/m-p/161299#M15032</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-10-19T12:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: Turn off that second scrollbar in dgrid?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/turn-off-that-second-scrollbar-in-dgrid/m-p/161300#M15033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, this does not seem to work for me. Exactly what do I need to do in my code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the div that holds my dgrid:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;div id="divGridActivities"&amp;gt;&amp;lt;/div&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the css for that div:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;#divGridActivities {
&amp;nbsp; overflow: hidden;
}&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 08:28:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/turn-off-that-second-scrollbar-in-dgrid/m-p/161300#M15033</guid>
      <dc:creator>DavidChrest</dc:creator>
      <dc:date>2021-12-11T08:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: Turn off that second scrollbar in dgrid?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/turn-off-that-second-scrollbar-in-dgrid/m-p/161301#M15034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; That looks correct to me. Is it the &lt;SPAN class="string"&gt;divGridActivities parent that is getting the scrollbar? Normally I determine this by using my browser developer tools to inspect the html elements and messing around with changing css at runtime.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 14:20:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/turn-off-that-second-scrollbar-in-dgrid/m-p/161301#M15034</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-10-19T14:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: Turn off that second scrollbar in dgrid?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/turn-off-that-second-scrollbar-in-dgrid/m-p/161302#M15035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;Got it! Thanks, I'm a bit new at some of these things. Using Chrome's dev tools, found that this is how one turns off overflow scrollbar:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;.dijitContentPane {
&amp;nbsp; overflow: hidden:
}&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, this turns off all the overflow scrollbars on all ContentPanes, some I do not want turned off (but this is still good to know in the future).&lt;/P&gt;&lt;P&gt;So I just added an inline css to the ContentPane holding my dgrid and works great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;div data-dojo-id="bottomGridPane" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="splitter:'true', region:'bottom'" 
style="height: 240px; overflow: hidden;"&amp;gt;


&amp;nbsp; &amp;lt;div id="divGridActivities"&amp;gt;&amp;lt;/div&amp;gt;


&amp;nbsp; &amp;lt;/div&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much for your help, much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 08:28:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/turn-off-that-second-scrollbar-in-dgrid/m-p/161302#M15035</guid>
      <dc:creator>DavidChrest</dc:creator>
      <dc:date>2021-12-11T08:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: Turn off that second scrollbar in dgrid?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/turn-off-that-second-scrollbar-in-dgrid/m-p/161303#M15036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm out of idea with my problem.&amp;nbsp; I had grid nicely displayed with outside contentpane not set to "&lt;SPAN&gt;overflow&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;hidden" originally.&amp;nbsp; My grid needs the scrollbars to get to all the data: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/433103_Original.png" /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then after I set outside contentpane's innerHTML to the layer name, scrollbar for the contentpane shows up. The grid is pushed down a little bit too:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt; &lt;IMG alt="" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/433104_WithLayerName.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If I set contentpane in HTML file &lt;SPAN style="color: #ff0000; font-family: Consolas; font-size: small;"&gt;style&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-family: Consolas; font-size: small;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;"overflow:hidden"(setting &lt;SPAN style="color: #ff0000; font-family: Consolas; font-size: small;"&gt;overflow&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-family: Consolas; font-size: small;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;"hidden" has not effect).&amp;nbsp;That's what I got this:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;&lt;IMG alt="" class="image-3 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/433112_Afterward.png" /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;I can't not to scroll to all the data now.&amp;nbsp; I also tried to add another contentpane above the grid to display layername etc, but the grid won't displayed as nice as the orignal way.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks ahead!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Sandy&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jan 2019 01:22:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/turn-off-that-second-scrollbar-in-dgrid/m-p/161303#M15036</guid>
      <dc:creator>TONGSUN</dc:creator>
      <dc:date>2019-01-12T01:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: Turn off that second scrollbar in dgrid?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/turn-off-that-second-scrollbar-in-dgrid/m-p/161304#M15037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sandy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;You should start a new thread with your specifics and the code you are using.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2019 14:43:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/turn-off-that-second-scrollbar-in-dgrid/m-p/161304#M15037</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-01-17T14:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: Turn off that second scrollbar in dgrid?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/turn-off-that-second-scrollbar-in-dgrid/m-p/161305#M15038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought my question was related to the original question and that's why I posted here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After many tries, I accidently found the tricky way to make it look the way I want:&lt;/P&gt;&lt;P&gt;In HTML file, I added a space character to reserve a #text node in the outside contentpane:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-family: Consolas; font-size: small;"&gt;div &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-family: Consolas; font-size: small;"&gt;id&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-family: Consolas; font-size: small;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;"tableDiv"&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-family: Consolas; font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-family: Consolas; font-size: small;"&gt;data-dojo-type&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-family: Consolas; font-size: small;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;"dijit/layout/ContentPane"&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-family: Consolas; font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-family: Consolas; font-size: small;"&gt;region&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-family: Consolas; font-size: small;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;"bottom"&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-family: Consolas; font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-family: Consolas; font-size: small;"&gt;splitter&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-family: Consolas; font-size: small;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;"true"&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-family: Consolas; font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-family: Consolas; font-size: small;"&gt;style&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-family: Consolas; font-size: small;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;"overflow: hide"&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;&amp;gt; &amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-family: Consolas; font-size: small;"&gt;div&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;Then I programmably change the #text node value to layer name.&amp;nbsp; Then it as the way I want.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;I didn't know this is the best answer so I didn't post it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2019 18:37:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/turn-off-that-second-scrollbar-in-dgrid/m-p/161305#M15038</guid>
      <dc:creator>TONGSUN</dc:creator>
      <dc:date>2019-01-17T18:37:39Z</dc:date>
    </item>
  </channel>
</rss>

