dt Questions
2
Solved
I would like to edit the table and save the changes to the example below. Here's what I have so far.
library(shiny)
library(DT)
Admit<-c("Admitted","Rejected","Admitted...
2
Solved
Please check the data table "Case Analyses Details" on the right. I want to fit the data table within the box, such that it aligns from right and bottom border in the box, such that we add a horizo...
4
Solved
With the button extension to DT package, is there a way to specify that the buttons download either (1) all the data feeding the datatable, or (2) only the data on the visible page.
Below is the ...
2
Solved
I am using the button colvis from the DT package to select which columns I would like to show in the table. Here you have more info about the button colvis.
It works perfectly fine, it hides the co...
1
Solved
This is a follow-up question to my previous question which can be found here.
In this code snippet I compute the column sum of a shiny datatable using Javascript as I want it to be shown directly u...
Sikata asked 2/3, 2022 at 14:57
1
Solved
I would like to do the following tasks:
I want to add a column to a rendered table with observeEvent and via action button. Initially, the table should be displayed as uploaded by the user and mut...
Firstnighter asked 28/2, 2022 at 22:25
2
Solved
Is there a way to add an icon to column headers by renaming it . I tried with below
datatable((iris %>% rename(paste0('Sepal.Width',as.character(icon(name = "info-circle", lib = "...
2
I am trying to create a reference to DT::datatable in a bookdown project.
The bookdown manual states that (\#tab:label) should be placed at the beginning of the table caption. For testing, I crea...
Saarinen asked 13/4, 2018 at 14:58
2
Solved
A simple app:
#
# This is a Shiny web application. You can run the application by clicking
# the 'Run App' button above.
#
# Find out more about building applications with Shiny here:
#
# http://sh...
1
Solved
I based the code below on Stephane Laurent's solution to the following question on Stack Overflow:
Edit datatable in Shiny with dropdown selection for factor variables
I added in code to use editDa...
2
Solved
I am just trying to keep the left most column fixed when scrolling right with the ScrollX enabled, and just can't get it to work. Any idea what I need to do different?
library(shiny)
library(DT)
...
1
Solved
I am trying to create a table (with DT, pls don't use rhandsontable) which has few existing columns, one selectinput column (where each row will have options to choose) and finally another column w...
Isiahisiahi asked 27/9, 2021 at 10:19
2
Solved
I am writing a Shiny application that will query a database a few times. The queries may take some time, so I am using actionButton to allow the user to control when they are started.
The general ...
1
Solved
I am trying to have both a scatter plot and a barplot in leaflet. The datetable, the leaflet and the scatter plot work fine. The problem is
the barplot does not work when in leaflet we select some ...
1
Solved
I want to design a shiny app that allow the users to save their inputs in the local storage, which means when the users reopen the tool with their web browsers, the tool reload the values last time...
Luncheon asked 14/7, 2021 at 3:40
3
Solved
I am trying to add download buttons ('copy', 'csv', 'excel', 'pdf') above the table in my R Shiny app, but the renderDataTable seems doesn't work when using a datatable inside.
output$mytable1 <...
2
The minimal example below renders a leaflet map with 3 markets, and a DT table with 3 records. When a market on the map is selected, so to is the matching record on the table. However, what I canno...
1
Solved
I am creating a R flexdashboard document with some DT::datatables. I would like users of the dashboard to be able to resize columns of the tables dynamically. It seems like this is a feature that s...
Saporific asked 10/6, 2021 at 6:52
1
Solved
I have a datatable that I want to show in R Shiny, but I want the header column that has the column names to be red and the text to be in white. With formatStyles(), I can only specify entire colum...
Gaullism asked 10/6, 2021 at 22:32
5
Solved
I would like to remove 'global search' option from my application, but leave 'column search' option. Any ideas? I've tried different paramethers like searching=FALSE, filtering='none'... None of th...
0
I am able to render a datatable in my shiny app. However, whenever there is a wide table, the horizontal scroller gets back to it's initial position when you apply filters on the columns in the bac...
Hypsometry asked 28/4, 2021 at 12:3
1
Solved
I'm having some trouble displaying icons with sparklines within a DT::datatable column in a Shiny app even though I have escaped the HTML.
Edit: Removed 2nd question.
library(shiny)
library(dplyr)
...
Queasy asked 2/2, 2021 at 17:31
4
Solved
Suppose my data looks like this:
df1 = data.frame(A=c(1000000.51,5000.33), B=c(0.565,0.794))
I want to use DataTables and have column A be (1,000,001 ; 5,000)
library(DT)
datatable(df1) %>% ...
Blackmarketeer asked 24/3, 2015 at 20:14
1
Solved
I have an R Shiny app and one of the output elements is a databale. I use the following code to display Buttons like Copy, Excel, Print:
df <- datatable(df,
rownames= FALSE,
filter = 'top',
...
2
When I run my Shiny app, the headers of my data tables get shifted to the left. See below.Say this table is on Tab A.
The headers get aligned correctly when I click on a different tab (Tab B),then...
© 2022 - 2024 — McMap. All rights reserved.