datatable2: datatable2 - Datatable with child rows

Description Usage Arguments Value

View source: R/tools.R

Description

Created by Reigo Hendrikson: <http://www.reigo.eu/2018/04/extending-dt-child-row-example/>

Usage

1
datatable2(x, vars = NULL, opts = NULL, font.size = "10pt", dom = "fti", ...)

Arguments

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.

Value

A DT::datatable.


varsExplore documentation built on July 13, 2020, 9:06 a.m.