AnsweredAssumed Answered

Data Grid size change

Question asked by dashton on Jun 4, 2012
Latest reply on Jun 5, 2012 by btfou
I have a datagrid sitting in a Div that is resizable.  When my endusers resize my div
my grid stays the same size...how can I get the grid to resize with the div?


  <!--BOTTOM/FOOTER DIV -->       <div id="footer" class="roundedCorners" data-dojo-type="dijit.layout.ContentPane"       data-dojo-props="region:'bottom', splitter:'true'">               <table data-dojo-type="dojox.grid.DataGrid" data-dojo-id="grid"  id="grid" data-dojo-props="rowsPerPage:'5', rowSelector:'20px'">       <thead>         <tr>           <th field="OBJECTID">GIS UNIQUE ID</th>           <th field="FACILITYID">FACILITY ID</th>           <th field="SUPPORTID">SUPPORT ID</th>           <th field="DATEINST">DATE INSTALL</th>           <th field="SIGNCATEGORY">SIGN CATEGORY</th>           <th field="SIGNTYPE">SIGN TYPE</th>           <th field="DIRFACES">DIRECTION</th>           <th field="SIGNSIZE ">SIGN SIZE</th>           <th field="SIGNMEMO">SIGN MEMO</th>           <th field="HEIGHT">HEIGHT</th>           <th field="SUBSTRMAT">SUB MATERIAL</th>           <th field="BACKGRDMAT" width="100%">BACK MATERIAL</th>          </tr>       </thead>     </table>              <table data-dojo-type="dojox.grid.DataGrid" data-dojo-id="gridsup"  id="gridsup" data-dojo-props="rowsPerPage:'5', rowSelector:'20px'">       <thead>         <tr>            <th field="OBJECTID">GIS UNIQUE ID</th>           <th field="FACILITYID">FACILITY ID</th>           <th field="SUPPORTTYPE">SUPPORT TYPE</th>           <th field="DATEINST">DATE INSTALL</th>           <th field="SUPPORTLENGTH">SUPPORT LENGTH</th>           <th field="ROADNAME">ROAD NAME</th>           <th field="SUPPORTMEMO">SUPPORT MEMO</th>           <th field="SUPPORTLOCATION" width="100%">SUPPORT LOCATION</th>           </tr>       </thead>     </table>            </div>        <!--END BOTTOM/FOOTER DIV --> 

Outcomes