dfrancis01 / dfo-richt-project

Other
0 stars 0 forks source link

DT table not fitting inside box #64

Closed dfrancis01 closed 2 years ago

dfrancis01 commented 2 years ago

Solution found: https://stackoverflow.com/questions/57946206/how-to-resize-a-datatable-in-order-to-fit-it-in-a-box-for-shinydashboard

Code fix something like:

 output$myTable = DT::renderDataTable({
    DT::datatable(
       options = list(scrollX = TRUE)

Example: image