cwatkins
asked on
How to disable scrollbars (vertical and horizontal)?
I am new to Dojo 1.2.
I am able to use the DataGrid for displaying contents of an array.
How can I turn off the scrollbars (horizontal and vertical)?
In other words, the scrollbars should display when there are 20 or more rows being displayed?
I am able to use the DataGrid for displaying contents of an array.
How can I turn off the scrollbars (horizontal and vertical)?
In other words, the scrollbars should display when there are 20 or more rows being displayed?
A snippet of my markup is as follows:
<div dojoType="dijit.layout.ContentPane" region="center">
<div dojoType="dojox.grid.DataGrid" id="_grid"
elasticView="1" query="{id: '*'}"
rowsPerPage="20" store="mydatastore"
structure="mygridlayout" rowSelector="0px">
</div>
</div>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
var grid = new dojox.Grid({autoHeight:tru
grid.sizeChange();