Hi,
You will fin hereafter an extract of my app.
I use isolate()
for input$prio_rows_selected
but I have to reload my application to initiate the value.
I would like to know if it is possible to reset my variable without exiting my application?
Thanks in advance to your reply!
My code is based on GitHub - jienagu/DT-Editor: This is a DT Editor Shiny app
val.ecr<-reactive({
selected_row_ecr<-0
selected_row_ecr=isolate(input$prio_rows_selected)
old_row_ecr=tab.ecr.prio[selected_row_ecr]
tab.val.ecr<-old_row_ecr
as.data.frame(tab.val.ecr)
tab.val.ecr
#ligne<-saveRDS(tab.val.ecr,"ligne.rds")
})
output$card<- renderText({
val<-val.ecr()
prettyNum(paste0(val[1,1],big.mark=","))
})