The lattice arrangement continues in three dimensions. This is why solid ionic compounds form crystals with regular shapes.