as.datatable.formattable {formattable}R Documentation

Convert formattable to a datatable htmlwidget

Description

Convert formattable to a 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 datatable

Value

a datatable object


[Package formattable version 0.2.1 Index]