In this study, we demonstrate a polarization-independent grating, which is fabricated with 12-hydroxyl stearic acid (HSA) doped twisted nematic (TN) cell with stripe-patterned electrode method. Thermoreversible association and dissociation of the gelator molecules can vary and fix the multistable diffraction efficiencies of the grating, which can be used to save power. Voltage can also be used to dynamically modulate the diffraction efficiencies of the grating, which behaves as a conventional LC device. The experimental results show that the variations of the diffraction efficiencies in the multistable and dynamic modes are very similar. The variations of diffraction efficiency of one dimension (1D) and two dimension (2D) gratings with voltage in such a dual mode are presented in this study.