增加renderDataTable中过滤器的宽度

时间:2018-07-11 14:13:22

标签: r datatable shiny dt

我有一个要在闪亮的应用中显示的数据集,并且启用了过滤器。

在过滤器中单击时,对于因子列,我看不到因子的全名,因为该列太窄了。

DT::datatable(df, options = list(), filter = 'top')

enter image description here

我是否添加选项such as these并不重要。相反,将列名向右移动会变得更糟。

DT::datatable(df, options = list(autoWidth = TRUE, scrollX = T), filter = 'top')

enter image description here

关于如何调整过滤器的任何想法,以便我可以看到整个因素并选择?

0 个答案:

没有答案
相关问题