Create an HTML table widget using the DataTables library with Chinese menu
1 2 3 |
data |
a data object (either a matrix or a data frame) |
caption |
the table caption; a character vector or a tag object
generated from |
rownames |
|
colnames |
if missing, the column names of the data; otherwise it can be
an unnamed character vector of names you want to show in the table header
instead of the default data column names; alternatively, you can provide a
named numeric or character vector of the form |
extensions |
a character vector of the names of the DataTables extensions (https://datatables.net/extensions/index) |
pageLength |
the length of page |
lengthMenu |
the menu of length |
buttons |
buttons shows |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.