Quantcast
Channel: Shiny DT datatable Make only certain columns editable by the user - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Answer by bcarlsen for Shiny DT datatable Make only certain columns editable by the user

$
0
0

According to the documentation for DT::datatable(), the editable argument should be structured differently:

This argument can also be a list of the form list(target = TARGET,disable = list(columns = INDICES)), where TARGET can be cell, row,column, or all, and INDICES is an integer vector of column indices.

Try editable = list(target = "column", disable = list(columns = c(1,2))


Viewing all articles
Browse latest Browse all 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>