Responsive Tables

Mobile friendly tables that work across all screen sizes.

Full Table

The first way to make a table responsive, is to wrap it with <div class="table-responsive"></div>. This way the table will be horizontally scrollable and all data will be accessible on smaller screens (< 768px).

Name Email Access Actions
Brian Stevens customer1@example.com Trial
Ralph Murray customer2@example.com VIP
Ralph Murray customer3@example.com Personal
Jose Wagner customer4@example.com Trial
Jose Wagner customer5@example.com Business

Partial Table

The second way is to use responsive utility CSS classes for hiding columns in various screen resolutions. This way you can hide less important columns and keep the most valuable on smaller screens. At the following example the Access column isn't visible on small and extra small screens and Email column isn't visible on extra small screens.

Name Email Access Actions
Wayne Garcia client1@example.com Disabled
Justin Hunt client2@example.com Disabled
Ralph Murray client3@example.com VIP
Brian Stevens client4@example.com VIP
Albert Ray client5@example.com Trial