How to draw a table

I need to draw a dynamic grid in Interface Builder dialog.
It should have all lines visible, dynamically change size and number of rows and columns.

Help me please.