plotly / dash-ag-grid

Dash AG Grid is a high-performance and highly customizable component that wraps AG Grid, designed for creating rich datagrids.
https://dash.plotly.com/dash-ag-grid
MIT License
173 stars 25 forks source link

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.

Maintained by Plotly

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:


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:

AG Grid Enterprise features

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

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.