dt Questions

2

Solved

I want to add a vertical line between groups of columns. Here is a desired outcome: --------- g1 | g2 --------- a b | a b --------- 1 2 | 3 4 --------- and a shiny app to start with: library(sh...
Churchman asked 18/4, 2016 at 11:29

1

This is an issue with the package DT in R, for Shiny apps. I noticed that with the option fixedHeader = TRUE, the frozen header will appear on all tabs of a Shiny app. Here is an example illustrat...
Hotspur asked 20/6, 2017 at 1:23

16

Solved

Is it possible to hide the Show Entries dropdown but keep the Search box in DataTable? I want to always display 10 rows with pagination at the bottom along with search box but do not want to displa...
Farflung asked 8/11, 2012 at 14:10

1

Are you aware of a "nice" way to display the dataframe in colab using R, preferably as an interactive table? I am trying the code below (which I typically use in rstudio) but it is not wo...
Blinkers asked 24/9, 2020 at 1:27

2

I have a large shiny app with a lot of DTs. One of these DTs is dynamic and takes input from another DT through user interaction. When a row is added, two drop down lists are created inside. These ...
Sister asked 30/1 at 17:59

2

Solved

I am using DT::datatable() to visualize tables in a R markdown file. # R markdown file library(DT) ```{r viewdata} # this is an example but my actual dataset has 10000 rows and 100 columns var....
Alainaalaine asked 17/11, 2016 at 20:30

3

When creating a datatable with filter = 'top' and also using a formatting function on a column, the formatting isn't applied to the filter control for that column. Is there a way to format the filt...
Gounod asked 2/10, 2017 at 19:33

3

Solved

I am trying to create a responsive data table for my shiny application using DT package. I want to hide certain columns in advance. For example: library("shiny") library("DT") shinyApp( ui = flui...
Mayfield asked 5/9, 2015 at 3:22

1

Solved

I have an editable datatable in Shiny. In the table there is a column that has numeric values that the user can edit. This works fine and I have found much information on how to restrict which rows...
Arjan asked 6/9, 2023 at 15:27

1

I have a dynamic interface that gets created in a huge function. The function spits out a taglist with all the input features and other stuff too. Among this is a DT table. That's all good and work...
Portraitist asked 26/4, 2019 at 8:53

4

Solved

I'm building an R shiny dashboard and when I put my data in a table using the DT package and renderdatatable(). At the top of each column, I have filters, the search box is too narrow to see the te...
Thompson asked 22/3, 2016 at 20:23

1

Solved

Using this answer, I made a DT::datatable in Shiny which contain a column of checkboxes, but I'm having an issue where if I check some boxes, go to another page on the table, then return to the ori...
Holsworth asked 15/7, 2023 at 16:41

5

library(DT) seq_dates <- data.frame(dates = as.Date("2017-01-01") + 1:6 * 100) datatable(seq_dates) %>% formatDate(1, "toDateString") I get a datatable in viewer pane displaying dates in fo...
Unwind asked 1/6, 2017 at 9:34

2

Solved

I want to create an app that has the following flow: The user selects some data groups Those groups become dynamic tabs, with each of those tabs containing a subset editable DT with the respective...
Footloose asked 12/5, 2023 at 21:2

2

Solved

I am trying to set the highlight color for a selected row in a DataTable in my shiny app. Basically I want the color of selected rows to be say red rather than blue. However, I am not at all famili...
Inflame asked 7/7, 2017 at 9:56

2

Solved

I'm using Shiny (0.12.0) with DT (0.0.65) for row-selections in this Shiny datatable. I want to pre-select the first 5 rows. I have tried: Changing the class of row using callback JS in datatable...
Pill asked 10/6, 2015 at 2:56

4

Solved

Using R shiny & DT package, I am creating certain tables. The number of columns vary as per user input & is not fixed. I have included the following code snippet to include a horizontal scr...
Cabasset asked 10/6, 2015 at 19:16

2

I am trying to edit dynamically a data.frame using a Shiny App. The table describes a project's experiment structure and will thus include variable experimental factors, each with variable levels. ...
Fibroin asked 6/4, 2023 at 10:27

3

Solved

In R DT you can define the table control elements with code such as: # only display the table, and nothing else library(DT) datatable(mtcars, options = list(dom = 't')) The t above is a DOM. The D...
Johnson asked 4/11, 2020 at 17:11

3

Solved

I search for solution to put selectedInputs in renderDataTable cells. I found js solutions: https://datatables.net/examples/api/form.html , however I do not know how to implement this solution in s...
Asleyaslope asked 13/10, 2016 at 12:8

1

I found an extremely helpful answer here that is almost what I need. This solution of embedding a selectInput in a DataTable works great, but not for those with many rows. The issue is that the f...
Ethanol asked 3/11, 2017 at 20:26

1

Solved

This question is similar, but not identical to this one. Basically, I have a number of tables that I would like to show in tabsets using DT::datatable(). Unfortunately, I can't figure out how. The ...
Fluent asked 6/12, 2022 at 18:58

2

Solved

I am currently trying to limit my selection in a DataTable in Shiny to just two rows - I want the table to not allow the user to click on more than rows (but also to have the ability to deselect th...
Blackdamp asked 5/5, 2017 at 13:7

1

Solved

I have the following shiny app. # GLOBAL ---- library(shiny) library(DT) library(readr) library(dplyr) SELECT = '<select year="" id="year-select"> <option value=&quot...
Emarginate asked 31/10, 2022 at 21:11

1

Solved

Edit TL;DR Using crosstalk package, I am searching for a way to link a graph that utilizes long format data (a line plot) with an interactive table with data in wide format so that each row in tabl...
Mick asked 4/2, 2021 at 15:53

© 2022 - 2024 — McMap. All rights reserved.