Skip to content

Commit

Permalink
Merge branch '84_xportr_deep_dive_vignette' of https://github.com/ato…
Browse files Browse the repository at this point in the history
…rus-research/xportr into 84_xportr_deep_dive_vignette
  • Loading branch information
bms63 committed Jun 14, 2023
2 parents b157beb + f9f441b commit bd40b2e
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 @@ -193,15 +193,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 bd40b2e

Please sign in to comment.