[BUGFIX] Only render grid if there is at least one row
Merge pull request #576 from hmspl/gridToggle

[BUGFIX] Only render grid if there is at least one row