View source: R/htmlTableWidget.R
htmlTableWidget | R Documentation |
This widget renders a table with pagination into an htmlwidget
htmlTableWidget(
x,
number_of_entries = c(10, 25, 100),
width = NULL,
height = NULL,
elementId = NULL,
...
)
x |
A data frame to be rendered |
number_of_entries |
a numeric vector with the number of entries per page to show. If there is more than one number given, the user will be able to show the number of rows per page in the table. |
width |
Fixed width for widget (in css units). The default is
|
height |
Fixed height for widget (in css units). The default is
|
elementId |
Use an explicit element ID for the widget (rather than an automatically generated one). Useful if you have other JavaScript that needs to explicitly discover and interact with a specific widget instance. |
... |
Additional parameters passed to htmlTable |
an htmlwidget showing the paginated table
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.