Skip to content

Commit

Permalink
allow user to specify the width of the first column (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
elong0527 committed Nov 15, 2023
1 parent 1fd81b3 commit fd0099a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/interactive_table1.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ interactive_table1 <- function(meta,
download = "none",
type = NULL,
defaultPageSize = 50,
name_width = 220,
max_row = 50000,
...) {
download <- match.arg(download, choices = c("none", "listing", "table", "all"))
Expand Down Expand Up @@ -74,7 +75,6 @@ interactive_table1 <- function(meta,
space[1:2] <- ""

name_display <- paste(space, name_display)
name_width <- 220

# update table
tbl$table <- cbind(name_display = name_display, tbl$table)
Expand Down

0 comments on commit fd0099a

Please sign in to comment.