Change between table and object layout