Skip to content

Base style - compact

The compact class reduces the amount of white-space in the DataTables base styling, increasing the information density on screen, as shown below.

Please note that this class does not apply to the other styling frameworks such as Bootstrap. The other frameworks provide their own classes to modify a table's style.

First name Last name Position Office Age Start date Salary Extn. E-mail
Tiger Nixon System Architect Edinburgh 61 2011-04-25 $320,800 5421 t.nixon@datatables.net
Garrett Winters Accountant Tokyo 63 2011-07-25 $170,750 8422 g.winters@datatables.net
Ashton Cox Junior Technical Author San Francisco 66 2009-01-12 $86,000 1562 a.cox@datatables.net
Cedric Kelly Senior Javascript Developer Edinburgh 22 2012-03-29 $433,060 6224 c.kelly@datatables.net
Back to top