Data Table
Table with sorting, search and pagination done on the server. Everything is a real link or GET field (it works without JS); with JS, each action swaps only the table region and the URL keeps the state. The search box sits outside the swapped region, so typing is never interrupted.
Protocols
40 results
| Protocol | Area | Owner | Steps |
|---|---|---|---|
| Chromatography C | Neuroscience | Ben Carter | 4 |
| Chromatography B | Genetics | Amara Okafor | 14 |
| Chromatography A | Immunology | Elena Rossi | 10 |
| Cell culture E | Neuroscience | Ben Carter | 16 |
| Cell culture D | Genetics | Amara Okafor | 12 |
| Cell culture C | Immunology | Elena Rossi | 8 |
| Cell culture B | Biochemistry | Daniel Kim | 4 |
| Cell culture A | Microbiology | Chloé Martin | 14 |
@components.DataTable(components.DataTableProps{
ID: "protocols", URL: "/protocols", Columns: columns,
Sort: r.Sort, Dir: r.Dir, Query: q, Page: r.Page, TotalPages: r.TotalPages, Total: r.Total,
Searchable: true,
}) { for _, p := range r.Rows { <tr>...</tr> } }