The grid complexes exhibit pH-dependent changes in the optical absorption, electronic spin states and reversible redox states. The latticial metal complexes may thus be used theoretically for information storage and processing in the future.