dt Questions
2
Solved
I am looking for a way to create a conditional bar plot as part of a gt table (the wonderful grammar of tables package). It seems to be possible in DT's datatable as shown here styleColorBar Center...
4
I have data I wish to show in a flexdashboard in R. I build the datatable with DT::renderDataTable({DT::datatable(data(), options=list(scrollX=TRUE))})
This works just fine when showing something...
Octa asked 23/1, 2017 at 19:42
2
Solved
I would like the behaviour of numeric values in DT tables to be the same than in the print output when using :
options(scipen = -1)
options(digits = 3)
cars/1000000
But whatever are the option...
Sicklebill asked 3/4, 2018 at 15:54
3
I'm trying to remove the header row in a DT datatable, does anyone know if there's an option for doing this?
Minimal example:
#SERVER.R
output$myTable <- renderDataTable({
datatable(dataset, ro...
1
Goal
To have select dropdown in DT datatables not at the building of the datatable but built on cell click, with replaceData() and with the datas on RDBMS (SQL Server).
When I click on the selecte...
Ph asked 24/7, 2020 at 12:27
1
Solved
I am trying to create a Shiny app that allows users to edit a datatable, whereby the edits are saved. Here is a minimal example:
library(shiny)
library(DT)
ui <- fluidPage(
DT::DTOutput('df')...
2
Solved
Is that possible to use ggplotly() or datatable() in RMarkdown from inside a for loop or function? Example:
---
title: "Using `ggplotly` and `DT` from a `for` loop in Rmarkdown"
output: h...
Marseillaise asked 14/3, 2020 at 17:51
1
Solved
I want to build a data.table DT in R Shiny, where each row would display a selectInput widget, which I managed with the following code:
Here is a working example:
app.R
library(data.table)
libra...
2
Solved
I'm trying to get the numbers in a currency format and then round them but I get unexpected behaviour from DT (v 0.1).
I want the values looking like 808084.227872401 into £808,084.2
Here's the c...
Tinned asked 13/5, 2016 at 12:25
2
Solved
I would like to be able to get 'slimmer' rows when rendering a DT datatable (ie decrease that height)
options(digits.secs=6)
library(data.table)
d = data.table(x = 1:10,time = as.POSIXct('2015-03-...
1
Solved
I am wroking on an shiny app as a volonteer trying to produce an app that would register all of the calls citizens have in the these times of a lockdown for a local Red Cross office. I have managed...
Spatter asked 20/4, 2020 at 22:13
1
Solved
I used RStudio to read in a csv file and used Shiny to build an app as an interactive table, the cell I selected right now as shown in the picture is pre-filled.
enter image description here
I wa...
Clinch asked 24/3, 2020 at 9:57
1
Solved
I created a datatable that can be viewed in my "Viewer". If I use export to copy the image or save is as a .png it tends to be really low quality?
My best option has been screenshotting the image...
2
Solved
I'm working with a very long datatable and would like to place the pagination (1, 2, 3, ...15, next) at the top rather than the bottom of the table.
I know the DOM elements can be included/exclude...
1
I am working on a bookdown project where we have large tables that also contain citations. We are outputting in both html and pdf.
The problem is that I cannot find a way to make the citations rend...
Clipboard asked 1/1, 2020 at 21:8
2
Solved
I need to change labels of Buttons DT::Datatable in R.
Thanks for you help!
O DT:Datatable está com a extensão que permite alguns recursos de formatação, mas não documenta todos.
Ela usa a exten...
1
Solved
Is it possible to group rows and add sub headings to datatables using the DT package in R?
The bellow example is done using a example in Javascript (https://datatables.net/examples/advanced_init/r...
Trilley asked 16/12, 2019 at 10:12
1
Solved
What is the "best" way is to set a custom row stripe/row striping color in datatable (DT)?
I'm using datatable (DT) to create interactive tables (e.g HTML via rmarkdown), with download ability, et...
3
Solved
I have a shiny app that has a DT::renderDataTable, the user can select a row in the datatable.
The following bit of code will only print FALSE (when a row is selected):
observeEvent(input$segment...
Overriding asked 13/3, 2017 at 3:26
2
Solved
DataTables, in Shiny, displays missing values as blank space. Is there a way to change that? I'm dreaming especially of the gray, italicized NAs that RStudio uses in its data viewer. I'd have...
Sheeran asked 23/10, 2019 at 15:13
2
Solved
I have a wide and lengthy DT in shiny. By default I would like to show the horizontal scroll bar on top of the table. Is there a way to do this? My current DT definition looks like below:
DT::data...
2
Solved
I'm working on implementing a callback function for DataTables in a shiny app similar to this example from the DataTables forum. My thought so far from reading the DT documentation (section 4.4) wa...
Benton asked 14/3, 2017 at 21:24
3
Solved
Can you please help me with DT::datatable column formatting? I have for example this table:
DT::datatable(iris,
class = 'row-border stripe hover compact',
rownames = F,
autoHideNavigation = ...
Characterization asked 20/2, 2018 at 17:8
1
Solved
I need to merge cells across columns in a DT::datatable in shiny. The best way seems to make use of the Javascript DataTables extension RowGroup. But I don't know which steps to take from viewing t...
1
Solved
I'm not proficient in Javascript and would like to replicate a dropdown function as is available in the rhandsontable package but for the DT package.
How could this be achieved in the most efficie...
© 2022 - 2024 — McMap. All rights reserved.