A simple example of how to implement a scrollable inventory grid in Godot:

It uses ScrollContainer and a custom Control as the grid.

Items can be clicked (see item_left_clicked() and item_right_clicked() in InventoryGrid.gd).