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 |
|---|---|---|---|
| Flow cytometry E | Neuroscience | Ben Carter | 15 |
| Quantitative PCR A | Genetics | Amara Okafor | 3 |
| Quantitative PCR B | Neuroscience | Ben Carter | 7 |
| Quantitative PCR C | Microbiology | Chloé Martin | 11 |
| Quantitative PCR D | Biochemistry | Daniel Kim | 15 |
| Quantitative PCR E | Immunology | Elena Rossi | 5 |
| Sequencing A | Biochemistry | Daniel Kim | 5 |
| Sequencing B | Immunology | Elena Rossi | 9 |
@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> } }