I should have post code as well, my bad.
store = new dojo.data.ItemFileReadStore({ data:data });
dojo.style(dojo.byId("grid"), "width", "280px");
dojo.style(dojo.byId("grid"), "height", "150px"); //obviously this was not working
var grid = dijit.byId('grid');
grid.setStore(store);
grid.resize();
autoWidth: true;
autoHeight: true;
map.centerAndZoom(center, zoom);
}
<div class ="toggle" id="menu_subA">Enter building number, name and abbreviation<br>
<input type="text" id="searchField" size="30" value="" /><button data-dojo-type="dijit.form.Button" onClick="doFind();" value="Search">Search</button>
<table data-dojo-type="dojox.grid.DataGrid" data-dojo-id="grid" id="grid" data-dojo-props="rowsPerPage:'1', rowSelector:'10px'">
<thead>
<tr>
<th field="Number" width="50">Num</th>
<th field="Abbrev" width="50">Abbr</th>
<th field="CampusCode" width="50">Camp</th>
</tr>
</thead>
</table>
</div>