This function creates a HTML widget to display matrix or a dataframe using ag-grid.
aggrid(data, options = list(), colOpts = list(),
formattingOptions = list(), sparkLineOptions = list(),
theme = "ag-theme-balham", filterOnSelect = TRUE, licenseKey = NULL,
width = NULL, height = NULL, elementId = NULL)
a dataobject (either a matrix or a dataframe)
a list of ag-grid grid options (see https://www.ag-grid.com/javascript-grid-properties/);
a list of ag-grid column options (see https://www.ag-grid.com/javascript-grid-column-definitions/);
a list of ag-grid column formatting options (see
http://numeraljs.com/#format) Also see formatColumns()
;
options for rendering sparkline in the table
a theme class name that need to be applied for grid (see https://www.ag-grid.com/javascript-grid-styling//);
specify whether filter is need to be perfromed on selecting a row item
if you wish to use the enterprise version of ag-grid
Width/Height in pixels (optional, defaults to automatic sizing)
An id for the widget (a random string by default).