dt Questions

1

Solved

This tips dplyr - mutate: use dynamic variable names, answer of @Tom Roth works very well, but I have a little issue. [edit: It seems than dynamic variables are not the cause. Reprex added /edit] ...
Inkwell asked 20/7, 2019 at 10:24

1

Solved

I'm designing a Shiny app to rank people based on a variety of metics. Using the DT sorting feature, I want users to be able to click on any column and sort by it. It seems natural to use the row...
Damnedest asked 16/7, 2019 at 14:51

2

Solved

Using DT in shiny, I want to be able to highlight the selected word. Setting searchHighlight = TRUE is close to what I want, but this will also highlight words that include the search. For example,...
Kansu asked 17/6, 2019 at 14:42

4

Have been trying to change the font size of all text in the tables generated by DT. However, I could only figure out how to change the size of the records using formatStyle(names(datCalc), fontSize...
Administer asked 21/5, 2017 at 19:40

1

Solved

I have an R shiny app with a DT datatable that is rendered using the datatable function in order to set various options. I would like to use dataTableProxy and replaceData to update the data in the...
Infectious asked 4/7, 2019 at 1:41

3

I am trying to add totals to a data table footer. Using code from different sources, I wrote the following application using Shiny. The problem is, when I run it, the following message appears: ...
Eleonoraeleonore asked 21/3, 2017 at 17:9

2

I have a shiny DataTable (package "DT") with quite long column names (+ whitespace) that I want to be rendered without name wrapping - i.e. colnames wrapped over 2-3 lines. I have enabled horizonta...
Feodore asked 8/7, 2015 at 13:0

3

Solved

I would like to have an editable DT inside a shiny module. When I change a value in the DT, then the table updates and it is empty with the message inside the datatable: "No matching records found...
Crudden asked 11/6, 2019 at 9:49

1

I have a first DT table oTable with cell selection enabled. When the user click (select) a cell, that will generate another DT table nTable. Then, in nTable I want to insert a selectInput. The co...
Dogeared asked 27/6, 2018 at 2:15

2

Solved

I would like to merge few rows in column in DT::datatable in shiny. Is it possible to do so? Currently I am able to output which looks something like this: But ideally I would like to merge the...
Laconism asked 14/9, 2016 at 6:49

2

Solved

I want to add a line between the 3 column: Species Sepal and Petal. How can I do that? sketch = htmltools::withTags(table( class = 'display', thead( tr( th(rowspan = 2, 'Species'), th(colspan...
rdt
Amethist asked 15/5, 2019 at 5:35

1

Solved

I have a table to which I would like to apply background colours to individual cells. The colours have no obvious direct relationship with the data presented, and are specified in a separate data s...
rdt
Sassy asked 13/5, 2019 at 4:23

1

Solved

I am wondering if there is a way to remove the index column (1st column) from the data table in Shiny. For example, column of (1, 2, 3) before Name column as shown in the screenshot below: Belo...
Amidase asked 18/3, 2019 at 20:42

2

Solved

I am developing a Shiny app using R 3.3.1, Shiny v. 1.2.0 and v. DT 0.5. One of the elements is an editable data table that spans multiple pages. After I make an edit the row in focus jumps to row ...
Quadruple asked 18/3, 2019 at 6:8

2

Solved

With styleColorBar, how can I get size of the color bar to be proportional to the absolute value of a column? In contrast to this, in the example below, looking at the cyl column, the red bar is la...
Ebonieebonite asked 12/6, 2017 at 16:9

1

Solved

I am using this question as a reference to add a "row index" or "counter column" (as described in the datatable documentation here) to a DT::datatable in a Shiny application. The intent is to hold ...
Gupta asked 12/3, 2019 at 6:13

1

I'm trying to create a DT with several inputs in Shiny. The columns with selectInput and numericInput work fine, but the one with dateInputs doesn't. It's like the input$date_n does not exist at al...
Beak asked 1/8, 2018 at 12:28

1

Solved

I'm trying to include shiny widgets such as textInput, selectInput (single), sliderInput, and selectInput (multiple) in the rows of a DT table. When the widgets are directly on the page, they displ...
Chequerboard asked 7/3, 2019 at 0:58

0

I have been working on trying to grasp how to make DT::dataTableProxy Using DT in Shiny work within my app, but I cannot get passed returning the selected columns. Following the example here, I at...
Amaze asked 3/3, 2019 at 14:52

1

Solved

Is there a trick to edit next cell after pressing TAB in an editable DT ? It would help to edit faster a whole row. Below an basic example of an editable DT. library(shiny) library(DT) ui <-...
Atmosphere asked 27/2, 2019 at 14:5

2

Solved

Is it possible to update a reactive data source by editing the DT::DataTable? Below code is based on this code with change that x is made reactive. The problem starts when trying to change x in obs...
Braley asked 22/5, 2018 at 14:22

2

Solved

I'm writing a shiny app that has a table (using DT::renderDataTable) from which users can select a row. But I want the user to also be able to add new row(s) if what they want is not already in the...
Hist asked 25/11, 2016 at 20:27

1

The extensions Buttons works great for shiny application, from library(DT). However it export the data without formatting. Is there a way to export data with format (e.g. percentage, or currency)? ...
Barroom asked 31/1, 2017 at 20:17

2

Solved

Is there any way to hide the column names when using the DT::datatable() That returns now data at all: empty<-data.frame(c("a","d","d"),c("s","d","d")) library(DT) datatable(empty,colnames = ...
rdt
Clearwing asked 23/1, 2019 at 0:43

2

I'm building a Shiny app with a plot_ly scatter plot. I'm using a SharedData object (from the crosstalk package) to share information between the plot and a datatable (from DT). The problem is whe...
Knowhow asked 29/9, 2017 at 17:46

© 2022 - 2024 — McMap. All rights reserved.