DT
DT copied to clipboard
Mode editable : add both rows and columns for restriction
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.
Hello! any update on this feature ? Thank you