For basic styling — light padding and only horizontal dividers — add the base class .table to a <table>.

Member Organisation Role Action
Receptionist at Bastion Hotels Member
Head of Communications at Freshminds Member
Drupal progammer at Go Bananans! Member
Social worker at Greenvalley Member
Personal trainer at My Personal Fitness Factory Member
Member Organisation Role Action
Receptionist at Bastion Hotels Member

To allow smooth interaction with bigger and more complex tables we make use of theTablesaw library.

Add classes .table and .tablesaw to the table element. To allow the user to use the swipe gesture (or use the left and right buttons) to navigate the columns you need to add the following attribute <table data-tablesaw-mode="swipe">.

To lock (prevent from scrolling) the first column you can use data-tablesaw-priority="persist" attribute on the <th> element like <data-tablesaw-priority="persist">. It is not recommended to use this on other columns or multiple columns as this will cause problems on small devices.

To a add a mini map use <table data-tablesaw-mode="swipe" data-tablesaw-minimap>.

Member Organisation Role Action
Receptionist at Bastion Hotels Member
Head of Communications at Freshminds Member
Drupal progammer at Go Bananans! Member
Social worker at Greenvalley Member
Personal trainer at My Personal Fitness Factory Member
Receptionist at Bastion Hotels Member
Head of Communications at Freshminds Member
Drupal progammer at Go Bananans! Member
Social worker at Greenvalley Member
Personal trainer at My Personal Fitness Factory Member
Member Organisation Role Action
Receptionist at Bastion Hotels Member