Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 3058bd5

Browse files
authored
Update dashTable to 4.5.1 with support for async loading in R (#668)
1 parent 9435701 commit 3058bd5

File tree

17 files changed

+80
-33
lines changed

17 files changed

+80
-33
lines changed

DESCRIPTION

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
Package: dashTable
22
Title: Core Interactive Table Component for Dash
33
Version: 4.5.1
4-
Authors @R: as.person(c(Chris Parmer <chris@plot.ly>))
5-
Description: Dash DataTable is an interactive table component designed for designed for viewing, editing, and exploring large datasets. DataTable is rendered with standard, semantic HTML <table/> markup, which makes it accessible, responsive, and easy to style. This component was written from scratch in React.js specifically for the Dash community. Its API was designed to be ergonomic and its behavior is completely customizable through its properties.
4+
Description: An interactive table component designed for designed for viewing, editing, and exploring large datasets, DataTable is rendered with standard, semantic HTML <table/> markup, which makes it accessible, responsive, and easy to style. This component was written from scratch in React.js specifically for the Dash community. Its API was designed to be ergonomic and its behaviour is completely customizable through its properties.
65
Depends: R (>= 3.0.2)
7-
Imports:
8-
Suggests:
6+
Imports:
7+
Suggests:
98
License: MIT + file LICENSE
109
URL: https://github.com/plotly/dash-table
1110
BugReports: https://github.com/plotly/dash-table/issues

NAMESPACE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
# AUTO GENERATED FILE - DO NOT EDIT
22

33
export(dashDataTable)
4+
export(df_to_list)

R/df_to_list.R

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
df_to_list <- function(df) {
2+
if(!(is.data.frame(df)))
3+
stop("df_to_list requires a data.frame object; please verify that df is of the correct type.")
4+
setNames(lapply(split(df, seq(nrow(df))),
5+
FUN = function (x) {
6+
as.list(x)
7+
}), NULL)
8+
}

R/internal.R

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,30 +10,30 @@ version = "4.5.1", src = list(href = NULL,
1010
file = "deps"), meta = NULL,
1111
script = 'bundle.js.map',
1212
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashTable",
13-
all_files = FALSE), class = "html_dependency"),
13+
all_files = FALSE, dynamic = TRUE), class = "html_dependency"),
1414
`dash_table` = structure(list(name = "dash_table",
1515
version = "4.5.1", src = list(href = NULL,
1616
file = "deps"), meta = NULL,
1717
script = 'async~export.js',
1818
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashTable",
19-
all_files = FALSE), class = "html_dependency"),
19+
all_files = FALSE, async = TRUE), class = "html_dependency"),
2020
`dash_table` = structure(list(name = "dash_table",
2121
version = "4.5.1", src = list(href = NULL,
2222
file = "deps"), meta = NULL,
2323
script = 'async~export.js.map',
2424
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashTable",
25-
all_files = FALSE), class = "html_dependency"),
25+
all_files = FALSE, dynamic = TRUE), class = "html_dependency"),
2626
`dash_table` = structure(list(name = "dash_table",
2727
version = "4.5.1", src = list(href = NULL,
2828
file = "deps"), meta = NULL,
2929
script = 'async~table.js',
3030
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashTable",
31-
all_files = FALSE), class = "html_dependency"),
31+
all_files = FALSE, async = TRUE), class = "html_dependency"),
3232
`dash_table` = structure(list(name = "dash_table",
3333
version = "4.5.1", src = list(href = NULL,
3434
file = "deps"), meta = NULL,
3535
script = 'async~table.js.map',
3636
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashTable",
37-
all_files = FALSE), class = "html_dependency"))
37+
all_files = FALSE, dynamic = TRUE), class = "html_dependency"))
3838
return(deps_metadata)
3939
}

dash-info.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
pkg_help_description: >
2-
Dash DataTable is an interactive table component designed for
3-
designed for viewing, editing, and exploring large datasets.
4-
DataTable is rendered with standard, semantic HTML <table/> markup,
5-
which makes it accessible, responsive, and easy to style. This
6-
component was written from scratch in React.js specifically for the
7-
Dash community. Its API was designed to be ergonomic and its behaviour
8-
is completely customizable through its properties.
9-
pkg_help_title: >
1+
pkg_help_description: >-
2+
An interactive table component designed for editing and exploring
3+
large datasets, DataTable is rendered with standard, semantic HTML
4+
<table/> markup, which makes it accessible, responsive, and easy
5+
to style. This component was written from scratch in React.js
6+
specifically for the Dash community. Its API was designed to be
7+
ergonomic and its behaviour is completely customizable through its
8+
properties.
9+
pkg_help_title: >-
1010
Core Interactive Table Component for Dash

dash_table/async~table.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash_table/bundle.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash_table/bundle.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash_table/demo.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash_table/demo.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)