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.
I found lots that can be done with the dgrid in css but nothing on this large scrollbar.
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:
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).
So I just added an inline css to the ContentPane holding my dgrid and works great.
<div data-dojo-id="bottomGridPane" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="splitter:'true', region:'bottom'"
style="height: 240px; overflow: hidden;">
Thanks so much for your help, much appreciated.
you need to set the css overflow on the grids parent div to be hidden.
OK, this does not seem to work for me. Exactly what do I need to do in my code?
This is the div that holds my dgrid:
This is the css for that div:
That looks correct to me. Is it the 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.
Retrieving data ...