2,249 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
382
views
How can I render plotly plots without using plotlyOutput and renderPlotly?
I have a datatable that contains plots. Is there a way to just render it without having to use plotlyOutput and renderPlotly? In my real app the plots drawn will be dependent on context and I do not ...
1
vote
1
answer
73
views
Include plotly chart in DT rows R
I am searching to include plotly charts in a column of a DT table in R, similar to sparkline package.
I can't get the plotly objects to render. My current trials give empty column or having the html ...
1
vote
1
answer
126
views
How to download a reactive dataframe where the data is not in JSON format using drop downs as inputs in Shiny?
I want to download a dataframe that has been updated by drop downs in Shiny. I want the output of the drop downs not to be in JSON format but either character or numeric depending on the data type.
...
0
votes
1
answer
62
views
Rows disappear when transposing DT in R Shiny
I've attached a reproducible R Shiny app to show the problem I'm having. Once you click "Show tables", you can see the DT with my own data on the left and a DT with mtcars on the right as a ...
1
vote
1
answer
80
views
Is it possible to have cells in RowGroup in DT?
Can I have real perfectly aligned cells in the grouping rows, instead of this misaligned workaround?
The use of extension "RowGroup" is mandatory because of the collapsing
Ideally cells ...
Ferroao's user avatar
- 3,148
4
votes
2
answers
90
views
R Shiny and DataTables creating an alert when data is updated, but has the same number of columns as previous data
I'm writing an app that creates certain reports at the click of a button. When a new report has the same number of columns as the previous one, DT throws an alert about how column name from old data ...
2
votes
1
answer
146
views
Why are plots not all the same width when rendered in a datatable?
Have a look at the following DT::datatable containing plotly plots:
You can see that not all plots have the same width, which is not what I intend. I intend that they all take them the maximal ...
1
vote
1
answer
81
views
How to make DT datatable factor filter dropdowns keyboard accessible (ADA compliant) in R Shiny?
The Goal
I am building an R Shiny application with a DT::datatable that has column filters (filter = 'top'). For columns that are factors, DT correctly creates a dropdown menu (using selectize.js) ...
2
votes
1
answer
66
views
How to create a JS event for a button in a DataTable using modules?
I wanted to insert buttons into a DataTable and found this very helpful code. Just copy pasting it in the simplest case works like a charm, however, I cannot adapt it to my modularized situation. I am ...
2
votes
0
answers
87
views
Why are DT filters on values containing special characters not resettable when a SelectizeInput is contained in the app?
UPDATE: Ended up converting my selectizeInput to shinyWidgets pickerInput, which fixes the filter clearing issue I had when the page contained a selectizeInput.
My Shiny app uses DT. In the data I am ...
0
votes
0
answers
48
views
In R Shiny, DT:Datatable, filter out selected rows [duplicate]
My question: I have a rather large dataset in R Shiny and want to give the user the possibility to filter out single rows.
As my problem was not clear before, I explain it a little more: Filtering out ...
1
vote
1
answer
98
views
How to save datatable content when a SelectInput in a cell is updated?
I'm looking for a way to display Statut as inputSelect taking c('','yes','no', 'refused') and Commentaires taking c('','b','c','d') and when a person changes it to something different than '', to save ...
3
votes
1
answer
95
views
Custom Sorting for DataTables with DOM [duplicate]
I am trying to build a shiny app with datatables. The issue is that for one of my datatables I need to sort the columns in a non-standard way something similar to
https://northcoder.com/post/custom-...
3
votes
1
answer
184
views
How to update a DataTable without resetting its scroll position? [duplicate]
I am using shiny and DT to create an editable table where users can select cells to set them to NA. However, when I update the table using replaceData(), the table resets its original loaded position. ...
1
vote
1
answer
73
views
NA values in a non-editable date column in a datatable in a shiny app change to "Invalid Date" when clicked on
I'm trying to make a shiny app with a table, including some editable cells and some fixed cells. Some columns are dates, with some values missing.
When I run the app and double click on an empty cell ...