Skip to content

Commit

Permalink
Update vignettes/deepdive.Rmd
Browse files Browse the repository at this point in the history
Co-authored-by: André Veríssimo <211358+averissimo@users.noreply.github.com>
  • Loading branch information
bms63 and averissimo authored Jun 14, 2023
1 parent 93800fc commit f9f441b
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions vignettes/deepdive.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -185,15 +185,20 @@ columns2hide <- c(
)
datatable(
var_spec,
var_spec %>% select(-all_of(columns2hide)),
rownames = FALSE,
filter = "top",
options = list(
dom = "Bfrtip",
columnDefs = list(list(visible = FALSE, targets = columns2hide))
columnDefs = list(
list(width = "10px", targets = c("order", "length", "format", "type", "dataset", "variable")),
list(className = "text-left", targets = c("label"))
),
searching = FALSE,
autoWidth = TRUE
)
) %>%
formatStyle(0, target = "row", color = "black", backgroundColor = "white", fontWeight = "bold", lineHeight = "70%")
formatStyle(0, target = "row", color = "black", backgroundColor = "white", fontWeight = "bold", lineHeight = "70%", textAlign = "center")
```

## `xportr_type()`
Expand Down

0 comments on commit f9f441b

Please sign in to comment.