Controlling how data displays on a table