I use datatable in my shiny app. I want to add a button close to the search button. when I click on the button I want to call the function: observeEvent(input[["btn"]] this is my code:
DT::renderDataTable(rownames = FALSE,
DT::datatable(my_df,extensions = 'Buttons',
options = list(info = FALSE, paging = FALSE,
dom='Bfrtip', buttons= list('copy')
)))
It's looks great, but instead of the copy button I want a regular button that call this function: observeEvent(input[["btn"]] any idea how can I do it?
