as.datatable.formattable: Convert 'formattable' to a 'DT::datatable()' htmlwidget

View source: R/as.datatable.R

as.datatable.formattableR Documentation

Convert formattable to a DT::datatable() htmlwidget

Description

Convert formattable to a DT::datatable() htmlwidget

Usage

## S3 method for class 'formattable'
as.datatable(x, escape = FALSE, ...)

Arguments

x

a formattable object to convert

escape

logical to escape HTML. The default is FALSE since it is expected that formatters from formattable will produce HTML tags.

...

additional arguments passed to to DT::datatable()

Value

a DT::datatable() object


renkun-ken/formattable documentation built on Dec. 7, 2024, 10:19 p.m.