Description Usage Arguments Value
Created by Reigo Hendrikson: <http://www.reigo.eu/2018/04/extending-dt-child-row-example/>
1 | datatable2(x, vars = NULL, opts = NULL, font.size = "10pt", dom = "fti", ...)
|
x |
A dataframe |
vars |
String vector. The variables you want to put in the details table, rather than keep in the main table. |
opts |
Additional options for DT::datatable. |
font.size |
String. Default is "10pt". |
dom |
String. What DT::datatable elements to show. Default is 'fti'. |
... |
Additional parameters for DT::datatable. |
A DT::datatable.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.