DT icon indicating copy to clipboard operation
DT copied to clipboard

Mode editable : add both rows and columns for restriction

Open JulietteCharbon opened this issue 4 years ago • 1 comments

Hi, It would be interesting to add in the editable -> disable an option for columns and rows. For example :

library(shiny)
library(DT)
shinyApp(
  ui = fluidPage(DTOutput('tbl')),
  server = function(input, output) {
    output$tbl = renderDT(
      datatable(data = iris, 
                options = list(lengthChange = FALSE),
                editable = list(target = 'column', disable = list(columns = c(1:3), rows = c(1:5))))
    )
  }
)

It will be a restriction for columns and rows.

JulietteCharbon avatar Sep 10 '20 15:09 JulietteCharbon

Hello! any update on this feature ? Thank you

chalioui avatar Feb 03 '21 16:02 chalioui