Comments (10)
Sorry I tried my best to click as fast as I can, but I just could not reproduce the problem. I'm not sure if it is because my laptop is just too fast... (8G Memory, Intel Core i7-3630QM CPU @ 2.40GHz × 8).
from dt.
(Sadly) I can do it every time. Not sure how much depends from the actual speed of the device.
With my Macbook pro (16GB, 3 GHz Intel Core i7, 2 cores) and the apple trackpad is very easy to reproduce (in this case because it is very easy to click very fast on the trackpad).
It happens (more sadly!) in my application based on shiny pro (on centos 6.5) and a remote client. I believe a slow connection between server and client makes it possible to generate a disconnect (different statuses cached etc.).
Could you kindly try selecting many boxes, then very quickly selecting / deselecting a middle box?
Also, would it help if I take a screencast?
from dt.
@yihui I have done a screen recording of the problem, but it is not supported by github.
Here is the video https://www.dropbox.com/l/tpzeafZeyB2JOas3PrusKs/invite
or
https://www.dropbox.com/sh/eevmfrahay9bq3s/AADu5qSWu81OAlVISSTndTCva?dl=0
from dt.
Thanks for the screen recording. I can see your problem.
Perhaps it was a bad idea from the beginning when I told you the checkboxRows(df_, input$demTb_selected)
trick, since it means the table can update itself when you click the checkboxes. Then the renderUI()
stuff makes the dependency structure even more complicated... Every time I have to stop and think for a while to figure out what this app really does. Sorry, I guess I don't have the bandwidth at the moment to solve this problem. I'll see if I can try again a few days later.
from dt.
@yihui As I have a similar problem with shiny and numericInput (and renderUI), I've just posted an issue on the shiny site referencing this one as well.
from dt.
Thanks! You may also post an example of numericInput() and renderUI() there. I think that example should be easier to debug than this DT one.
from dt.
@yihui so far nothing has happened on this issue:
- I tried minor changes but I still got the endless loop
- I've got no further comments on my post on shiny here rstudio/shiny#787
Would you kindly have time to help?
from dt.
I guess this issue is not specific to DT, but is a general shiny problem, so I'm closing this issue, and let's keep the discussion in the shiny repo only. Anyway, as Joe pointed out, if only you could avoid the circular dependency...
from dt.
Is the rownames = checkboxRows() still active ? This would be a useful feature in appending checkboxes to the rows
from dt.
@jasdumas No, it has been removed. Please see #93 (comment)
from dt.
Related Issues (20)
- two "remove" icons in filtered filter = 'top'? HOT 2
- plugins = 'natural' not working for DT v > .27? HOT 3
- 503 error with very large http cookies
- Issue using `replaceData()` with `dataTableProxy()` HOT 4
- `formatStyle()` doesn't work with Bootstrap 5 HOT 5
- Cannot be rendered correctly in Shiny app with tailwind css HOT 3
- some selected rows loose bg (bootstrap 5, rowGroup extension, selection)
- Selection of multiple levels HOT 2
- [Accessibility] Trigger custom row select from Javascript callback HOT 11
- R shiny DT table with pagination and drop down list inside table and being able to save the entire updated table as csv file HOT 5
- DT 0.31 breaks previous 'ignore colnames' behavior during `replaceData()` HOT 1
- RowGroup extension with rownames = TRUE HOT 6
- updateSearch does not update numeric slider values
- datatable column filters clash with shiny::selectizeInput when invoked first HOT 4
- DateTime date picker CSS is broken in SearchBuilder
- Disabling editable table by row (and not just by column)
- autoFill extension returns `NaN` instead of incrementing HOT 5
- Docs do not state whether shift+click works for multi-row selection
- #828 breaks maintaining selected columns upon re-render HOT 3
- signif() + datatable() bug HOT 3
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 dt.