Horizontal scroll on a table

How do I make this table not exactly the size of the screen, I want it to exceed the size and I’ll use the keyboard arrow to move to the side, this would help the numbers not be too tight

The table:

The structure
image

There is a variable that holds the page size you could bind that to the width of you table
image

and how do I change this pagesize

pagesize is the width of the page so stretching the screen changes it its also a number so you can do an function related to a number if your side bar for example has a width of 100 you can do pagesize-100.