From b5e1b56a1db84f06d0bca64f05d1b5b6e127ca59 Mon Sep 17 00:00:00 2001 From: "Alec L. Robitaille" Date: Fri, 28 May 2021 11:59:30 -0700 Subject: [PATCH] add colWidths argument --- R/edit_file.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/R/edit_file.R b/R/edit_file.R index 7b582ee..35f15af 100644 --- a/R/edit_file.R +++ b/R/edit_file.R @@ -245,7 +245,8 @@ edit_file <- function(metadata_dir = file.path("data", "metadata"), file) { output$hot <- rhandsontable::renderRHandsontable({ rhandsontable::rhandsontable(dat, useTypes = TRUE, - stretchH = "all") %>% + stretch = 'all', + colWidths = '250px') %>% rhandsontable::hot_context_menu(allowColEdit = FALSE) })