-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue using replaceData()
with dataTableProxy()
#1101
Comments
It works if we set replaceData(dataTableProxy("table"), df(), rownames = FALSE) |
Right, if the original table was rendered with I've tested CRAN releases 0.30 and 0.29. The problem doesn't seem to be new, i.e., both CRAN versions can reproduce the problem. I don't know why it didn't happen before... |
@gadenbuie Could you check if |
@yihui it resolves the issue in the reprex! It didn't resolve the new issue in our test apps, but I realized the test app used |
AFAICT, this issue was introduced in #1096. We found this in the nightly shiny tests, which started to fail the day after the day #1096 was merged (and then it took me a little bit to triage and track down the issue).
Here's a small reprex app:
The expected behavior is for the table to be a single column (
value
) with a single row. When clicking on the Increment button, the value should increment by one, usingreplaceData(dataTableProxy("table"), df())
.The current behavior I'm seeing is that the app starts as expected
but then after clicking the increment button to update the data, the table shows no rows.
The text was updated successfully, but these errors were encountered: