title: Save changes made to shiny data Table while using the App
body: <p>I am building a shiny App wherein i have a data table which contains various select inputs and checkbox inputs, the user can select the values in the cell using the select inputs and check boxes,is there a way i can store this data after the user has made all the selections.</p>
  
  <p>I have a data frame to which i have added 3 new columns with selectinputs and checkboxes for each cells. The user can select the values using them.</p>
  
  <pre><code>shinyServer(function(input, output, session) {
  
  observeEvent(input$datafile_1,{
  
  mapping_file &lt;&lt;- read.csv(input$datafile_1$datapath,stringsAsFactors = FALSE)
  
  output$mytable1 &lt;- renderDataTable({data.table(mapping_file)},
      options = list(
        dom='t',
        ordering=F,
        lengthChange = TRUE,
        pageLength=20,
        rownames= FALSE,
        initComplete = JS(
          "function(settings, json) {",
          "$(this.api().table().header()).css({'background-color': '#00338d', 'color': '#fff'});",
          "}"),
        autowidth = TRUE
  ),rownames= FALSE)
  
  DF &lt;- data.frame(Fields = colnames(df_master_file),stringsAsFactors = FALSE)
  
  # helper function for making checkbox
  shinyInput = function(FUN, len, id, ...) { 
    inputs = character(len) 
    for (i in seq_len(len)) { 
      inputs[i] = as.character(FUN(paste0(id, i), label = NULL, ...)) 
    } 
    inputs 
  }
  
  output$mytable2 = DT::renderDataTable({
    data.frame(DF,Mapping=shinyInput(selectInput,nrow(DF),"mapping_",
                                     choices=c("",colnames(mapping_file)),width="200px"),
                  Filter=shinyInput(checkboxInput,nrow(DF),"filter_",
                                    width="50px"),
                  Color=shinyInput(checkboxInput,nrow(DF),"color_",
                                 width="50px")
               )
  }, selection='none',server = FALSE, escape = FALSE, options = list( 
    dom = 't',
    paging=TRUE,
    preDrawCallback = JS('function() { 
    Shiny.unbindAll(this.api().table().node()); }'), 
    drawCallback = JS('function() { 
    Shiny.bindAll(this.api().table().node()); } '),
    ordering=F,
    lengthChange = TRUE,
    pageLength=37,
    rownames= FALSE,
    initComplete = JS(
      "function(settings, json) {",
      "$(this.api().table().header()).css({'background-color': '#00338d', 'color': '#fff'});",
      "}")
  ),rownames= FALSE )
  
  })
  
  </code></pre>
  
  <p>I want to save the data once the user has made the selections on the data table so that i could be used further for analysis.</p>