Comments (3)
Thank you @marciz for reposting the issue. You can download the development version of the package that resolves this issue. I'll close this issue now, if the problem persists in the development version you can reopen the issue again
from excelr.
Thanks @Swechhya , it works now
Ultimately I am trying to create table with calculated variable
library(shiny)
library(excelR)
dt <- iris
dt$mysum <- dt$Sepal.Length + dt$Sepal.Width
shinyApp(
ui = fluidPage(
excelOutput("table")
),
server = function(input, output, session) {
rv <- reactiveValues(
dt = dt
)
output$table <- renderExcel(excelTable(data = rv$dt))
observeEvent(input$table,{
dt <- excel_to_R(input$table)
dt$mysum <- dt$Sepal.Length + dt$Sepal.Width
rv$dt <- dt
})
}
)
It works as expected, just small inconvenience from user perspective is that cells selection is lost when table updates (due to new jexcel)
from excelr.
Yes, @marciz I can see that could be the inconvenience from user perspective. You can raise a new issue for that and I'll try to find a better solution(which could take some time) for table updation than currently implemented, until then this could be a workaround solution.
from excelr.
Related Issues (20)
- colnames are missing when download CSV file using "toolbar" add-in HOT 2
- Upgrade to JSpreadsheet v4 HOT 4
- strange behaviour on overwiting cells content HOT 3
- using excelR with images / resizing & shape changing HOT 3
- rename "excelR" package? :-) HOT 1
- changing cell content HOT 2
- can't see the picture in the table HOT 1
- inter-dependent pulldowns in excelr cells
- ExcelR Table Crashes in Shiny when Pressing Enter on Last Row HOT 1
- Error in getTableData: could not find function "getTableData" HOT 5
- How to change row headers HOT 1
- Input object not available on initial render HOT 2
- Quarto fails to render due to missing sizeInfo$height?
- Programatically update table style HOT 2
- Is it possible to freeze columns?
- Scrolling while selecting
- excel_to_R function does not work
- Footers HOT 1
- Remove Row Index from excelTable? HOT 3
- input object corresponding to renderExcel output not available. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from excelr.