The `PivotHtmlRenderer` class creates a HTML representation of a pivot table.
R6Class object.
new()Create a new `PivotHtmlRenderer` object.
PivotHtmlRenderer$new(parentPivot)parentPivotThe pivot table that this `PivotHtmlRenderer` instance belongs to.
A new `PivotHtmlRenderer` object.
clearIsRenderedFlags()An internal method used when rendering a pivot table to HTML. Clear the IsRendered flags that exist on the `PivotDataGroup` class.
PivotHtmlRenderer$clearIsRenderedFlags()No return value.
getTableHtml()Generate a HTML representation of the pivot table, optionally including additional detail for debugging purposes.
PivotHtmlRenderer$getTableHtml(
styleNamePrefix = NULL,
includeHeaderValues = FALSE,
includeRCFilters = FALSE,
includeCalculationFilters = FALSE,
includeWorkingData = FALSE,
includeEvaluationFilters = FALSE,
includeCalculationNames = FALSE,
includeRawValue = FALSE,
includeTotalInfo = FALSE,
exportOptions = NULL,
showRowGroupHeaders = FALSE
)styleNamePrefixA character variable specifying a prefix for all named CSS styles, to avoid style name collisions where multiple pivot tables exist.
includeHeaderValuesDefault `FALSE`, specify `TRUE` to render this debug information.
includeRCFiltersDefault `FALSE`, specify `TRUE` to render this debug information.
includeCalculationFiltersDefault `FALSE`, specify `TRUE` to render this debug information.
includeWorkingDataDefault `FALSE`, specify `TRUE` to render this debug information.
includeEvaluationFiltersDefault `FALSE`, specify `TRUE` to render this debug information.
includeCalculationNamesDefault `FALSE`, specify `TRUE` to render this debug information.
includeRawValueDefault `FALSE`, specify `TRUE` to render this debug information.
includeTotalInfoDefault `FALSE`, specify `TRUE` to render this debug information.
exportOptionsA list of additional export options - see the "A1. Appendix" for details.
showRowGroupHeadersDefault `FALSE`, specify `TRUE` to render the row group headings. See the "Data Groups" vignette for details.
A list containing HTML tags from the `htmltools` package. Convert this to a character variable using `as.character()`.
clone()The objects of this class are cloneable with this method.
PivotHtmlRenderer$clone(deep = FALSE)deepWhether to make a deep clone.
# This class should only be created by the pivot table.
# It is not intended to be created outside of the pivot table.
Run the code above in your browser using DataLab