look at the manage relational table behavior tutorial. In that tutorial we create a repeating div that contains checkboxes to display i think it is 3 across horizontally, you could use the same technique:
http://www.webassist.com/tutorials/Manage-relational-tables