choose grid size, and get real columns from query