How to move grid panel inside canvas panel to certain grid cell position?

Hi, I have a grid panel hosted by a small canvas panel, similar to a minimap, where the canvas panel is a lot smaller than the grid.
What I want is to be able to move the grid inside the canvas panel to center on a given cell of the grid.
Is there a way to do this? Thanks.