
diff --git a/docs/.nojekyll b/docs/.nojekyll new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/docs/.nojekyll @@ -0,0 +1 @@ + diff --git a/docs/404.html b/docs/404.html index 99b5970..37ccc3f 100644 --- a/docs/404.html +++ b/docs/404.html @@ -12,14 +12,14 @@ - - + + - +
Skip to content @@ -65,7 +65,7 @@


vignettes/extensions-guide.Rmd
extensions-guide.Rmd@@ -164,7 +164,7 @@Grouped Buttons with Labels) ))
Note: DT2 auto-detected that layout contains
+
Note: DT2 auto-detected that layout contains
buttons, so it loaded the Buttons extension automatically
(no need to set extensions explicitly).
In Shiny, selected rows are available via +
In Shiny, selected rows are available via
input$<id>_state$selected.
dt2(iris, responsive = FALSE, options = list(pageLength = 5))To customise Responsive behaviour (e.g., disable child rows):
+To customise Responsive behaviour (e.g., disable child rows):
dt2(iris, options = list(
responsive = list(details = FALSE) # hide overflow silently
@@ -217,7 +217,7 @@ ColumnControl= list(indicators = FALSE, handler = FALSE)
))

vignettes/formatting.Rmd
formatting.RmdThe col_specs argument accepts column names (matching
options$columns) or 1-based integer indices.
+Why
+columns = names(df)? When you refer +to columns by name, DT2 needs to know the column order to +translate names into positions. That list lives in +options$columns, so set it once +(opts <- list(columns = names(df))) before calling any +name-based helper. If you skip it, DT2 emits a warning and the target +cannot be resolved — pass 1-based indices instead if you prefer not to +set it. (dt2()itself fillsoptions$columns+from the data for rendering, but the helpers run before +dt2(), so they need it set explicitly.)