scrolledpanel set postion

Hi,
I am trying to create a data “sophisticated” grid. The first couple of rows must be always visible while the rest is scrollable.

if the number of columns doesn’t fit in the screen a horizontal scrollbar will show only in the bottom of the frame and it must scroll both grids.

Because it is not possible to remove hide grid’s scroll bars i had to use scrolledpanel and put the scrollbars inside.

all seems to work perfectly but I still have an issue, I can scroll the upper grid with the lower scrollbar.

please find attached an example, that should run on any machine.

thanks for your help and suggestions

NB: I also attach a screenshot of how the grids must look like

regards

resizeableGrid.py (3.34 KB)

screenshot.png