Add custom indexing and hidden cells to grids.