Show cells as frozen status

def OnViewFrozen(self, event):
        """Show cells as frozen status"""

        self.grid._view_frozen = not self.grid._view_frozen

        self.grid.grid_renderer.cell_cache.clear()
        self.grid.ForceRefresh()

        event.Skip()