x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<div class="overflow-auto"> <table class="text-left text-sm w-full"> <thead> <tr class="border-b border-subdued"> <th class="font-semibold px-1 py-2" scope="col"> Name </th> <th class="font-semibold px-1 py-2" scope="col"> ID </th> </tr> </thead> <tbody> <tr class="border-b border-subdued" data-testid="tr-1"> <td class="relative px-1 py-2" style="" data-testid="tr-1-td-0">Name 1</td> <td class="relative px-1 py-2" style="" data-testid="tr-1-td-1">1</td> </tr> <tr class="border-b border-subdued" data-testid="tr-2"> <td class="relative px-1 py-2" style="" data-testid="tr-2-td-0">Name 2</td> <td class="relative px-1 py-2" style="" data-testid="tr-2-td-1">2</td> </tr> <tr class="border-b border-subdued" data-testid="tr-3"> <td class="relative px-1 py-2" style="" data-testid="tr-3-td-0">Name 3</td> <td class="relative px-1 py-2" style="" data-testid="tr-3-td-1">3</td> </tr> <tr class="border-b border-subdued" data-testid="tr-4"> <td class="relative px-1 py-2" style="" data-testid="tr-4-td-0">Name 4</td> <td class="relative px-1 py-2" style="" data-testid="tr-4-td-1">4</td> </tr> </tbody> </table></div>1
2
3
4
anchor_table(data:, condensed: true) do |table| table.with_column(header: "Name", value: -> { it.name.capitalize }) table.with_column(header: "ID", value: :id)endNo notes provided.
No params configured.