get_selected_data_boundary: Get selected cells boundary from excel table

Description Usage Arguments Examples

View source: R/get_selected_data.R

Description

This function is used to the boundary points of data selected in excel table

Usage

1

Arguments

excelObj

the json data retuned from excel table

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
if(interactive()){
 library(shiny)
 library(excelR)
 shinyApp(
   ui = fluidPage(excelOutput("table")),
   server = function(input, output, session) {
     output$table <-
       renderExcel(excelTable(data = head(iris), getSelectedData = TRUE))
     observeEvent(input$table,{
       print(get_selected_data_boundary(input$table))
     })
   }
 )
}

excelR documentation built on March 13, 2020, 1:31 a.m.