DT extension

45 views
Skip to first unread message

Jason Ji

unread,
May 28, 2015, 5:46:07 PM5/28/15
to shiny-...@googlegroups.com
Hi all,
I am now incorporating DT in my shiny apps. I want to use multiple extensions in my DT, so I set options to be a list. For example, I want to use Colvis extension. The syntax I used was: 
DT::datatable(Maindata$showres,escape = F,filter='top',rownames = F, extensions = list(ColVis = list(dom = 'C<"clear">lfrtip')))
However, the ColVis extension did not function. I wonder whether there is something wrong with this syntax? Thanks!

Yihui Xie

unread,
May 28, 2015, 6:48:47 PM5/28/15
to Jason Ji, shiny-discuss
Please see the first two paragraphs at
http://rstudio.github.io/DT/extensions.html In your example, you did
not really use multiple extensions, though.

Regards,
Yihui
Reply all
Reply to author
Forward
0 new messages