Description Usage Arguments Examples
This function is used to get comment from specified cell
1 | getComments(tableId, cellId)
|
tableId |
the id of the table from which the comment is to be fetched |
cellId |
the id of the cell from which the comment is to be fetched |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | if(interactive()) {
library(shiny)
library(excelR)
shinyApp(
ui = fluidPage(excelOutput("table", height = 175),
actionButton('comment', 'Get Comments from cell A1')),
server = function(input, output, session) {
output$table <- renderExcel(excelTable(data = head(iris)))
observeEvent(input$comment, {
getComments("table", "A1")
})
observeEvent(input$table, {
print(input$table$comment)
})
}
)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.