handle case where grid is shown w/o rows

fixes DAQ-652
Merge pull request #47 from siq/showgridwithoutrows

handle case where grid is shown w/o rows

Reviewed code, ran tests, and verified in Chrome. Looks good.