Scene2D UI - make grid

Hello, i am trying to make an inventory for my game, and for that i need to make a grid.
I am trying to get this done with the table -

table = new Table();
table.setFillParent(true);
stage.addActor(table);

Where should i go from here?
I want my grid / inventory to look similar to this -

http://hydra-media.cursecdn.com/minecraft.gamepedia.com/thumb/a/a2/2011-07-18_12.55.56.png/256px-2011-07-18_12.55.56.png