Show grid options along with the current grid
Refactor code