Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions database/dtable.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,24 @@ df <- df |> mutate(Website = make_hyperlink(Website),
Email = make_hyperlink_email(Email))
```

::: {.callout-tip collapse="true"}
## Searching The Table

The table search box is case insensitive, and will search across all columns and return rows that match the search term(s).
You can also use regular expressions (regex) to search the table.

:::

```{r}
datatable(
df,
filter = "top",
rownames = FALSE,
options = list(
pageLength = 25,
scrollX = TRUE
),
escape = FALSE
scrollX = TRUE,
searchHighlight = TRUE,
search = list(regex = TRUE, caseInsensitive = TRUE),
escape = FALSE
)
```