Skip to main content

Dash wrapper around AG Grid, the best interactive data grid for the web.

Project description

Dash AG Grid PyPi Version

Dash AG Grid is a Dash component wrapper for the AG Grid JavaScript package, enabling you to display AG Grid components natively in your Dash app.

The underlying AG Grid JavaScript package is a third-party software component developed by AG Grid Ltd. Many features are available for free in the AG Grid Community version. Some features require a paid subscription to the AG Grid Enterprise version (more info available here). Both the community and enterprise versions are included in this component, but the enterprise features require you to provide a valid AG Grid license key. The demos which use Enterprise features are clearly marked.

Documentation

Please see the Plotly Dash AG Grid Documentation.

Quick Start

pip install dash-ag-grid

This basic grid has the following features enabled by default:

  • Alpine theme
  • Sort
  • Resize, reorder and pin columns
  • Boolean values rendered as check boxes
  • Row animation on sort
import dash_ag_grid as dag
from dash import Dash
import pandas as pd

app = Dash()

df = pd.read_csv("https://raw.githubusercontent.com/plotly/datasets/master/ag-grid/space-mission-data.csv")

app.layout = dag.AgGrid(
    rowData=df.to_dict("records"),
    columnDefs=[{"field": i} for i in df.columns],
)

app.run(debug=True)

AG Grid Community Features

Here are a few of the AG Grid Community features available:

  • Column Interactions (resize, reorder, and pin columns)

  • Column Spanning

  • Column Grouping

  • Pagination

  • Sorting

  • Row Selection

  • Row Reordering

  • Row Spanning

  • Pinned Rows

  • Full Width Rows

  • Cell data types with automatic type inference

  • Custom Filtering

  • Cell Editing

  • Provided components including number editors, date picker, select editor, text editor, large text editor

  • Custom Components in cells - add your own components such as buttons, graphs, indicators, markdown and more

  • Tooltips in cells and headers

  • Provided themes with light/dark versions

  • Customizable themes

  • Figma Design System to design and customize themes

  • Format Cell Data

  • Conditional formatting

  • Data Export to CSV

  • Keyboard Navigation

  • Accessibility support

  • Localization

AG Grid Enterprise features

Here are a few of the features available in AG Grid Enterprise. See the AG Grid docs for more information.

  • Grouping / Aggregation
  • Advanced Filtering
  • Records Lazy Loading
  • Server-Side Records Operations
  • Hierarchical Data Support & Tree View
  • Data Export to Excel
  • Excel-like Pivoting
  • Copy / Paste
  • Sparklines

See a live demo of AG Grid Community and Enterprise Features


Contributing

We welcome contributions to dash-ag-grid. Please see our contributing guide for more information.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dash_ag_grid-31.3.1.tar.gz (3.9 MB view details)

Uploaded Source

Built Distribution

dash_ag_grid-31.3.1-py3-none-any.whl (3.9 MB view details)

Uploaded Python 3

File details

Details for the file dash_ag_grid-31.3.1.tar.gz.

File metadata

  • Download URL: dash_ag_grid-31.3.1.tar.gz
  • Upload date:
  • Size: 3.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for dash_ag_grid-31.3.1.tar.gz
Algorithm Hash digest
SHA256 90069c340d893841d4e405fd3759794260946428c9cefcf70a356431e68c5020
MD5 b8255e374b7045e529ddb6ca6fa89603
BLAKE2b-256 745ee8c0b160005c5b01407aa4c739bf28a60043921458b2f25ef7b977f989e9

See more details on using hashes here.

File details

Details for the file dash_ag_grid-31.3.1-py3-none-any.whl.

File metadata

  • Download URL: dash_ag_grid-31.3.1-py3-none-any.whl
  • Upload date:
  • Size: 3.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for dash_ag_grid-31.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2bce8e2a99c2d08800f6c119e4723c838789a093eea29b121aabdb541e1da156
MD5 dd606982229ea06824669e3d9a90b731
BLAKE2b-256 84a97d1bd060ca28611e155cf7e3a53756b7244ee3224481c9ff0be0d2d2b2fb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page