How do I change the layout of a table