In addition to @dogenpunk's answer, you can also set the title bar style:
table_data = generate_lots_of_table_data table_data.unshift %w(id name address) # add headers table(table_data, header: true) do row(0).style font_style: :bold # header style end
source share