Skip to content

Commit

Permalink
Make code descriptions editable.
Browse files Browse the repository at this point in the history
  • Loading branch information
elinw committed Oct 10, 2021
1 parent 209d703 commit ee729cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions inst/shiny/qcoder/app.R
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,8 @@ if (interactive()) {
if (codes_df_path == "") {return()}
code_df <- readRDS(codes_df_path)
DT::datatable(code_df,
rownames = FALSE,
editable = list(target = "cell", disable = list(columns = c(1))),
extensions = 'Buttons',
options = list(paging = TRUE, dom = 'Bfrtip',
buttons = list(list(extend='copy'),
Expand Down

0 comments on commit ee729cf

Please sign in to comment.