Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82755

wrap Editor QR Scanner into shiny DT::renderDT

$
0
0

Dear all,

This blog seems to be a good starting code to wrap QB or bar code reader from javascript library to datatable in shiny app.

How can a default editable DT from shiny app, can include additional javascript, like in the blog to get the same result?
Thanks

library(shiny)
library(DT)
shinyApp(
  ui = fluidPage(
    DTOutput('x2')
  ),
  server = function(input, output, session) {
    x = head(iris)
    x$codeBar = "" 
    output$x2 = renderDT(x, editable = T)
  }
)


Viewing all articles
Browse latest Browse all 82755

Trending Articles



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