generates the grid with a click handler but not quite backboney