grid formatter