View source: R/cdr_RT2DT_primary.R
cdr_RT2DT_primary | R Documentation |
Format the primary R table into a DT
cdr_RT2DT_primary(db_tbl, cell_edit_permission, lock_fields = c())
db_tbl |
change log table imparted from the DB |
cell_edit_permission |
bool: do you want to allow the admin table cells to be edited |
lock_fields |
strings: column names you want to lock up e.g. c('Species','Petal.Width') |
a DT object to present the primary table
## Not run:
crudr:::cdr_RT2DT_primary(iris, cell_edit_permission = T)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.