diff --git a/BDAccess/app.R b/BDAccess/app.R index 155e434..b5f7080 100644 --- a/BDAccess/app.R +++ b/BDAccess/app.R @@ -163,7 +163,7 @@ server <- function(input, output) { output$samples <- renderRHandsontable({ if (!is.null(samples)){ - rhandsontable(values[["samples"]], stretchH = "all", readOnly = F, useTypes = T) + rhandsontable(values[["samples"]], stretchH = "all", readOnly = F, useTypes = T) } }) @@ -183,7 +183,9 @@ server <- function(input, output) { output$CLINICS <- renderRHandsontable({ if (!is.null(CLINICS)){ - rhandsontable(values[["CLINICS"]], stretchH = "all", readOnly = F, useTypes = T) + rhandsontable(values[["CLINICS"]], stretchH = "all", readOnly = F, useTypes = T) %>% + hot_col(values[["CLINICS"]] %>% select(lubridate::is.Date) %>% colnames, + dateFormat = "DD/MM/YY", type = "date") } })