-
Notifications
You must be signed in to change notification settings - Fork 182
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
RConnect Shiny Dashboard rendering DataTables Warning says: Table ID = DataTables_Table_0 - Ajax error #1088
Comments
No idea, your code is not understandable without more contextx Regarding the aternatives, there is reactable and gt. |
Hi All, I am with Posit support and have been working with @babu-g to try and fix this issue. A number of staff have looked at this and we are not sure where the issue was coming from but we noted it was similar to an old issue here: #266 We are wondering if there are circumstances that could re-trigger this issue in more recent versions. Please feel free to reach out to me via the Posit slack if you have any questions about this case from us. Thank you! --Jessi - Support Engineer - Posit PBC |
@babu-g The "Ajax error" could have many reasons, and it's hard to know without a reproducible example. The Please also try to minimize the example. For example, remove packages that are not actually used in the example. Ideally, the example should use DT only, so we can be sure the problem is not caused by other packages, e.g., ggplot2 and plotly should be irrelevant. Keep deleting code until the problems goes away, and then you will be much closer to the root of the problem. For now, it's too hard to tell.
|
Hi @yihui , Thanks so much for looking into this and clarifying. I am hoping that @babu-g will clean up the sample and retest soon. In the meantime regarding:
I did a sweep of the logs and the Connect dev team checked behind me and they didn't see anything pertinent to the issue either. Do you know what kind of output we should be looking for? I am happy to check again and see if that sheds any light on this issue. Appreciatively, Jessi |
Okay, if there isn't anything pertinent to the issue in the Connect logs, I'll definitely need a minimal reproducible example before I can investigate the problem. |
Getting this error when I visit this page now: |
RConnect shiny dashboard shows ajax error when accessing the shiny app
We are having an issue with multiple R Shiny Dashboard applications where the following error appears to the users whenever accessing the Shiny page.
DataTables Warning says: Table ID = DataTables_Table_0 - Ajax error. For more information about this error, see http://datatables.net/tn/7
DataTables Warning; table id + DataTables_Table_18-Ajax Error.
We tried using Google Chrome's Developer pane to check for the error, but the server responded with some 500 - internal error.
So, we checked out some blog posts about the problem. One of them said to switch the Data.table to DT library, but when we loaded the page, the pop-up still showed up.
The application is running in on RHEL 7.9 with RStudio Connect Version 2022.08
Article reffered - https://community.rstudio.com/t/data-table-issue-while-rendering-the-shiny-page-datatables-warning-table-id-datatables-table-0-requested-unknown-parameter/44016
The below Shiny app code below:
Shiny Code.txt
Another question, are there any other alternative package that can be used instead of Data.table/DT?
We would be grateful for any clarification on how to rectify this issue. Thank you in advance.
By filing an issue to this repo, I promise that
xfun::session_info('DT')
. I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version:remotes::install_github('rstudio/DT')
.I understand that my issue may be closed if I don't fulfill my promises.
The text was updated successfully, but these errors were encountered: