Ensure that header exists before render.
Add table orientation.
Add table rotation.