dash-ag-grid

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

MIT 32 个版本 Python >=3.6
安装
pip install dash-ag-grid
poetry add dash-ag-grid
pipenv install dash-ag-grid
conda install dash-ag-grid
描述

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.

版本列表
35.2.0 2026-04-03
35.0.0rc0 2026-01-21
34.3.0rc0 2026-01-21
33.3.3 2026-01-21
33.3.2rc2 2025-09-17
33.3.2rc1 2025-08-05
33.3.2rc0 2025-07-29
32.3.4 2025-12-19
32.3.2 2025-09-17
32.3.1 2025-08-05
32.3.0 2025-07-23
32.3.0rc0 2025-04-16
31.3.1 2025-03-19
31.3.0 2024-11-22
31.3.1rc1 2025-02-11
31.2.0 2024-05-01
31.0.1 2024-02-07
31.0.0 2024-02-02
2.4.0 2023-10-17
2.3.0 2023-07-27
2.2.0 2023-06-20
2.1.0 2023-06-02
2.0.0 2023-05-02
2.0.0rc2 2023-04-26
2.0.0rc1 2023-04-24
2.0.0a5 2023-03-30
2.0.0a4 2023-03-16
2.0.0a3 2023-03-07
2.0.0a2 2023-02-23
2.0.0a1 2023-01-24
0.0.2 2023-02-03
0.0.1 2021-08-13