renderDataTableSparklines: Render a data table with sparkline HTML elements

View source: R/utils_interface.R

renderDataTableSparklinesR Documentation

Render a data table with sparkline HTML elements

Description

Render a data table with sparkline HTML elements

Usage

renderDataTableSparklines(..., options = NULL)

Arguments

...

Arguments passed on to shiny::renderDataTable

expr

An expression that returns a data frame or a matrix.

searchDelay

The delay for searching, in milliseconds (to avoid too frequent search requests).

callback

A JavaScript function to be applied to the DataTable object. This is useful for DataTables plug-ins, which often require the DataTable instance to be available.

quoted

If it is TRUE, then the quote()ed value of expr will be used when expr is evaluated. If expr is a quosure and you would like to use its expression as a value for expr, then you must set quoted to TRUE.

outputArgs

A list of arguments to be passed through to the implicit call to dataTableOutput() when renderDataTable() is used in an interactive R Markdown document.

options

List of options to pass to renderDataTable()

Details

This slightly modified version of renderDataTable() calls a JavaScript function to convert the sparkline HTML elements to an interactive highchart object

Value

NULL (function is only used to modify the Shiny session's state or internal variables)


nuno-agostinho/psichomics documentation built on Feb. 11, 2024, 11:16 p.m.