Grid formatting config