Fixed display bug in shinyapp

main
Corentin Choisy 8 months ago
parent 9f33e1ad26
commit 9a444cec3b

@ -254,7 +254,7 @@ server <- function(input, output) {
output$res <- DT::renderDataTable(df_res_r(), output$res <- DT::renderDataTable(df_res_r(),
options = list(columnDefs = list(list(className = 'dt-center',width=ifelse(input$dif & !is.na(input$dif),"101px","50px"), targets = "_all")), options = list(columnDefs = list(list(className = 'dt-center',width=ifelse(input$dif & !is.na(input$dif),"119px","50px"), targets = "_all")),
pageLength=100,autoWidth=T,scrollY=400,scrollX = T,server=F,buttons=c("csv","excel")), pageLength=100,autoWidth=T,scrollY=400,scrollX = T,server=F,buttons=c("csv","excel")),
rownames = FALSE, rownames = FALSE,
selection="single", selection="single",

Loading…
Cancel
Save