title: How to save the 'rhandsontable' output in a data frame?
body: <p>I want to display my existing dataframe in output. In addition to those columns, I need few columns where user input can be recorded. I am able to achieve this through rHandsontable. But, am not able to save the edited/modified table in a dataframe.</p>
  
  <p>Below is the code am using:</p>
  
  <pre><code>    library(shiny)
  library(rhandsontable)
  
  mydf&lt;-read.csv('C:/Bhargav/GM/01_Projects/02_Toolkit/04_Validation/Sample_part_number_4.csv')
  
  
  ui&lt;-fluidPage(
    rHandsontableOutput("df"),
    actionButton("save", "Save table")
  
  )
  
  server&lt;-function(input,output) {
  
    values &lt;- reactiveValues()
  
    output$df&lt;-renderRHandsontable({
  
      DF = data.frame(mydf$PART_NBR,
                      Flag = "Valid/Invalid",
                      reason = "Enter the reason"
      )
      charac = c("Valid","Invalid")
      rhandsontable(DF,width=600, height = 400) %&gt;% hot_col(col = "Flag", type = "dropdown",source=charac) %&gt;% hot_col(col = "reason", allowInvalid = TRUE)
  
    })
  
  
  }
  
  runApp(list(ui=ui, server=server))
  </code></pre>