shinylight.makeTable {shinylight}R Documentation

JavaScript function

Description

Turns data received from R into a form that can be set into dataentrygrid.js.

Arguments

data

object Data as returned from R

extraColumns

Array.<string>, number The extra column headers required or the number of extra columns required.

Value

Headers and rows

Examples

## Not run: 
t = shinylight.makeTable(data);
grid.init(t.headers, t.rows);

## End(Not run)

[Package shinylight version 1.2 Index]