Shrink DT::dataTableOutput Size

后端 未结 2 1281
南方客
南方客 2020-12-06 00:35

I have a shiny interface, and I use DT::dataTableOutput and DT::renderDataTable a lot. However, I wonder if there\'s a way to shrink the datatable\

2条回答
  •  囚心锁ツ
    2020-12-06 01:26

    Try adding width: 75% to your style parameter of the div:

    div(DT::dataTableOutput("table"), style = "font-size: 75%; width: 75%")
    

提交回复
热议问题