renderDataTable with index.html

Here is what my server.R code looks like:

observeEvent(input$submit_loc,
               {
                 output$table1 <- DT::renderDataTable({

If I was using ui.R, I think I would do

dataTableOutput("table1"),

However I am not sure what to do if I am using index.html rather than ui.R

for a start, you can run the code and see the output

dataTableOutput("table1")

shows me

<div id="table1" style="width:100%; height:auto; " class="datatables html-widget html-widget-output"></div>

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.