Questions tagged [dt]

DT is an R package that provides an interface to the JavaScript library DataTables. Use the data.table tag for questions related to the data.frame extension package data.table.

The R package DT provides an R interface to the JavaScript library DataTables. R data objects (matrices or data frames) can be displayed as tables on HTML pages, and DataTables provides filtering, pagination, sorting, and many other features in the tables. See the package website http://rstudio.github.io/DT for more information.

1888 questions
0
votes
1 answer

How to change colnames from DT::renderDT with editable = TRUE argument?

I used an adaptation of a topic right here to change the names of the columns of a DT table, however, it seems to me that the change in the new object is not occurring. Here is a reproducible…
0
votes
0 answers

Edit date column in Editable DataTable in RShiny

I'm rendering a dataTable in a shiny application. 3 inputs will be entered by the user and on clicking the button, a dataTable will be rendered with 4 columns where column 1 will be uneditable, column 2 have a drop-down, column 3 has a date, and…
Nevedha Ayyanar
  • 845
  • 9
  • 27
0
votes
1 answer

Change color of filter labels in DT Shiny R

I have a DT in shiny where I have added a filter to each of the column names. I have also added a custom css to change the color of the table. However, when I go to filter a column, the values on the slider blend in with the background. I would like…
Jordan Wrong
  • 1,205
  • 1
  • 12
  • 32
0
votes
1 answer

R/Shiny: multiple default values in selectInput field

I’m trying to add a button to download the content of my DataTable as CSV. I want all the data available, not only the currently visible data in the table (columns can be hidden and the table is paginated). Here’s the code for my…
gregseth
  • 12,952
  • 15
  • 63
  • 96
0
votes
1 answer

In an R Shiny DataTable, trying to expand a cell after it is clicked. How can I do this?

I want to expand a cell in a DataTable in R Shiny when it is clicked on. I've come across the following implementation, where a user can hover over a cell to see the full contents of it: DT::datatable( bgcDF, class = "display…
Mitty
  • 3
  • 1
0
votes
1 answer

Editable calculation with DT table in Shiny

I've been at this for awhile and have read a bunch but I still can't wrap my head around how to make this work. Is there a simple solution? I want to edit a DT table in my shiny app and, upon editing, I'd like there to be a change in a column that…
user3585829
  • 945
  • 11
  • 24
0
votes
1 answer

DT Package: DataTable Download CSV Button Not Working

I have a shiny app where I want to download a csv version from the DT package. This used to work but most recently does not: library(DT) datatable(mtcars, extensions = 'Buttons', options = list( initComplete = JS( "function(settings,…
nak5120
  • 4,089
  • 4
  • 35
  • 94
0
votes
1 answer

display percentile in reactive table (shiny)

I am looking to display tables with low -hight percentile to identify extreme datas. My final aim is to display in my DB (shiny) each tab in different tabPanel ( (tab1 with percentile <20 ;tab2 with percentile>80) . I tried a lot of thing but not…
AST_
  • 21
  • 1
  • 1
  • 5
0
votes
0 answers

R Shiny styleColorBar applied to a subset of columns

I have a datatable inside an R shiny app and I'm trying to do what is illustrated in the following manual: https://rstudio.github.io/DT/010-style.html -> Style a full table. However, I'm trying to customize the colors of only columns 2 and 3 in this…
Angelo
  • 1,594
  • 5
  • 17
  • 50
0
votes
1 answer

DataTable highlight empty cells

I am trying to highlight empty cells in a DataTable (package DT), so that I can demonstrate to the users of the table which information still needs to be completed. I tried to achieve this with the DT::formatStyle() function and then using one of…
tom1003
  • 3
  • 2
0
votes
1 answer

Underlying values in DT table

Is there a way to underline values in DT table . Example library(shiny) library(DT) ui <- fluidPage( dataTableOutput("iris") ) server <- function(input, output, session) { output$iris <- renderDataTable(datatable(head(iris))) } shinyApp(ui,…
new p
  • 1
0
votes
1 answer

Want to have a column with images in a datatable; it works with URL but does not work with local paths

I am trying to add a column with only images into a datatable. However, this is the best I got so far: I'm not a expert in programming so I've been looking on the web in order to find a solution but nothing seems to work. I've tried solutions like…
Eduardo Rocha
  • 103
  • 1
  • 1
  • 12
0
votes
0 answers

Editable is not working in DT package in R

I got error editable from DT package Error in if (editable) params$editable = editable : argument is not interpretable as logical In addition: Warning message: In if (editable) params$editable = editable : the condition has length > 1 and only…
Ben
  • 181
  • 6
0
votes
1 answer

Drop row numbers in R tibble

How do I drop the row numbers when displaying R tibble through the DT package? The options = list(rownames = FALSE) argument doesn't seem to work, I also "made up" options = list(rownumbers = FALSE) and that didn't work. I messed around with things…
Display name
  • 4,153
  • 5
  • 27
  • 75
0
votes
1 answer

removing hover selection in DT package with shinny

I have small data that I am trying to display in shinny app with some custom user friendly features like download option feature, view small/all data and etc. my question is how to remove the hover effect because i am using color to highlight some…
1 2 3
99
100