dojox.grid.Grid Sizing Test
Grid width:   and height:  

   

Grid fits to a sized container by default:

Grid is essentially hidden (height of zero) when parent container is unsized (nothing, including the header, should be displayed):

Grid is autoHeight and autoWidth via markup