Create DT table with formattable options.
1 | createCustomDt(data, dt_left, column_num, ...)
|
data |
data |
dt_left |
column which placed on left |
column_num |
columns which will be format by 'method' and 'color' of cells. Those columns will be centered. |
... |
arguments listed below: |
method |
method of color all cells. Default value: 'formColumn'. |
color |
used palette of colors to fill cells. Default value: 'colorFormat'. |
right_col |
column which placed on left |
filter |
filter option from DT::datatable. |
pageLength |
pageLength option from DT::datatable.Default value: 50. |
scrollY |
scrollY option from DT::datatable.Default value: 300. |
fixedCol |
how many first columns should be fixed? Default value: 1. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.