Bootstrap Tables

Bootstrap tables provide simple, styled data display without JavaScript interactivity.

Basic Usage

doc.Body.Table<Employee>(employees);

Styling Options

doc.Body.Table<Employee>(employees, table => {
    table.WithStriped()
         .WithHover()
         .WithBordered()
         .WithSmall();
});

When to Use

Bootstrap tables are ideal when you need:

  • Simple data display without interactivity
  • Lightweight output without jQuery/DataTables overhead
  • Static reports where sorting/filtering isn't needed