This table allows you to reference or enter table data and add more customizations to it through the object inspector (rather than adding rules or creating custom code). Also referred to as an Autofit table or CreateCustomTable. Formatting can be done to sections of the table, such as row headers, column headers, cells, title, etc, and cannot be done on an individual cell basis without editing the R code or creating a CreateCustomTable from scratch. However, keep in mind you can format table cells directly on drag and drop tables, see How to Customize the Formatting of Tables in Displayr for more info.
Technical details
Description
This is an R-based table that creates the output using HTML code. It is most commonly used when wanting to align table values with other outputs/visualizations on the page. All supported and unsupported features of this table are outlined in How to Select the Type of Table that is Right for You.
Data/Inputs
A table or variable(s).
Autofit When this box is checked, the table will expand to fit the size of the container on the page and allow for custom formatting. If you uncheck this, the table will become a basic R table.
Format tab
Specify how to format the CELL VALUES
Set the font and colors for cells, column headers, and row headers. You can also set the column width sizes (by default evenly spaced).
Output
Acknowledgements
The underlying function used for this output is the flipFormat::CreateCustomTable function. All features and arguments available for this are documented here. There are several examples of creating these tables using custom R code (which allows for more customization) in the Displayr Help Center.
Method
- In Displayr: How to Create an Autofit Table
- In Q: Create > Charts > Visualization > Specialty Tables > Table with Custom Formatting