The Wayback Machine - https://web.archive.org/web/20200212162859/https://github.com/plotly/dash-table
Skip to content
A First-Class Interactive DataTable for Dash
TypeScript JavaScript Python CSS
Branch: dev
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Issue 596 - Add Markdown presentation (#606) Jan 7, 2020
.config IE11 compatibility (#637) Nov 14, 2019
.github Update contribution (#562) Aug 28, 2019
.storybook Issue 596 - Add Markdown presentation (#606) Jan 7, 2020
@Types Issue 596 - Add Markdown presentation (#606) Jan 7, 2020
dash_table Delete __init__.py Oct 3, 2019
dash_table_base Issue 596 - Add Markdown presentation (#606) Jan 7, 2020
demo Issue 596 - Add Markdown presentation (#606) Jan 7, 2020
generator Issue 567 - Add border-radius support (#568) Sep 5, 2019
src feat: disable cookie access under restricted sandboxes (#677) Jan 14, 2020
tests Issue 596 - Add Markdown presentation (#606) Jan 7, 2020
.Rbuildignore Build Dash 4.0.0 version of dash-table for R (#478) Jul 2, 2019
.gitignore Remove VSCode config from git (#613) Oct 3, 2019
.npmignore Issue 212 - UMD packaging (#225) Nov 8, 2018
.pylintrc add pylintrc file Jun 18, 2018
CHANGELOG.md bump version Jan 14, 2020
CODE_OF_CONDUCT.md 😸 add code of conduct Nov 5, 2018
CONTRIBUTING.md Update contribution (#562) Aug 28, 2019
LICENSE - add license to manifest (#374) Feb 13, 2019
MANIFEST.in Add async usage for xlsx Oct 21, 2019
Procfile 🏭 review app Sep 18, 2018
README.md add browser compatibility note Nov 9, 2018
__init__.py add __init__.py files Jul 19, 2019
app.json Add Heroku generated app.json Sep 14, 2018
babel.config.js IE11 compatibility (#637) Nov 14, 2019
cspell.json Remove VSCode config from git (#613) Oct 3, 2019
cypress.json Issue 324 - Fix header misalignment regression with "always visible" … Jan 9, 2019
dash-info.yaml Update R YAML metadata for dash-table (#669) Jan 14, 2020
dev-requirements.txt Requirements fix (#537) Aug 7, 2019
index.py linting Jul 19, 2019
package-lock.json Issue 596 - Add Markdown presentation (#606) Jan 7, 2020
package.json bump version Jan 14, 2020
python-requirements.txt refresh the python circle tests Sep 18, 2018
renovate.json Update renovate configuration Dec 7, 2018
requirements.txt Update Werkzeug and add pyyaml (#664) Feb 4, 2020
runtime.txt 🏭 review app Sep 18, 2018
setup.py Consistent build / requires (#392) Mar 4, 2019
tsconfig.base.json Add async usage for xlsx Oct 21, 2019
tsconfig.json [WIP] Update dependencies (#615) Oct 8, 2019
tslint.json Issue 596 - Add Markdown presentation (#606) Jan 7, 2020
webpack.config.js change build (#475) Jun 20, 2019
webpack.dev.config.js Add async usage for xlsx Oct 21, 2019
webpack.serve.config.js 3.0 (#42) Aug 17, 2018
webpack.test.config.js IE11 compatibility (#637) Nov 14, 2019
webpack.test.standalone.config.js IE11 compatibility (#637) Nov 14, 2019

README.md

Dash Table

An interactive DataTable for Dash.

👉 Documentation

Quickstart

pip install dash-table
import dash
import dash_table
import pandas as pd

df = pd.read_csv('https://raw.githubusercontent.com/plotly/datasets/master/solar.csv')

app = dash.Dash(__name__)

app.layout = dash_table.DataTable(
    id='table',
    columns=[{"name": i, "id": i} for i in df.columns],
    data=df.to_dict("rows"),
)

if __name__ == '__main__':
    app.run_server(debug=True)

Interactive Dash DataTable

Background

Dash DataTable is an interactive table component 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.

7 months in the making, this is the most complex Dash component that Plotly has written, all from the ground-up using React and TypeScript. DataTable was designed with a featureset that allows that Dash users to create complex, spreadsheet driven applications with no compromises. We're excited to continue to work with users and companies that invest in DataTable's future.

DataTable is in Alpha. This is more of a statement on the DataTable API rather than on its features. The table currently works beautifully and is already used in production at F500 companies. However, we expect to make a few more breaking changes to its API and behavior within the next couple of months. Once the community feels 💪 about its API, we'll lock it down and we'll commit to reducing the frequency of breaking changes. Please subscribe to dash-table#207 and the CHANGELOG.md to stay up-to-date with any breaking changes. Note: DataTable is currently supported in Chrome, Firefox, Safari, Edge (version 15+), and Internet Explorer 11.

So, check out DataTable and let us know what you think. Or even better, share your DataTable Dash apps on the community forum!

Contributing

See CONTRIBUTING.md

You can’t perform that action at this time.