Dash AG Grid is a high-performance and highly customizable component library for working with tabular data that wraps AG Grid. It was initially written as a feature of Dash Enterprise to make this powerful data grid accessible to our customers.
Dash AG Grid is now available open source!
We have decided to make Dash AG Grid open source and available to the community.
Dash AG Grid is currently a pre-release
Weāre working hard to get it ready for its initial v2.0.0 open-source release on PyPI. This is an alpha release, so feel free to take Dash AG Grid for a spin and let us know what you think, but please do not use it in production apps yet.
We will announce the full release here in the Forum and on the Dash Club newsletter.
See the docs app live (also to be incorporated into the Dash docs soon).
These docs are a dash version of the AG Grid React docs. Certain advanced features require an AG Grid Enterprise license.
Contributing
Thanks to @jinnyzor and @AnnMarieW for leading the development of the open source version of Dash AG Grid. Community contributions are welcome! If you would like to help with either the component development or the docs, please see the contributing guide.
Thanks for the update, tried to create the ag-grid via a callback using df.to_dict(ārecordsā) as an output to the ag-grid rowData property, the docs mention the importance of setting the row Ids but not sure how to implement that. At the moment my ag-grid is not showing any data.
@app.callback(Output('my_grid','rowData'),
[,Input('data_memory','data'),
Input('interval_component','n_intervals')])
def update_table(data,n):
if data is None:
raise PreventUpdate
df = pd.DataFrame(data)
df.id = [i for i in range(len(df))]
return df.to_dict('records')
it is only rendering the column headers but data is blank. Thanks in advance
> id ISSUER_NAME TICKER PRIMARY_ANALYST LEHMAN_INDUSTRY
0 ZANU ZNU NICK M Aerospace/Defense
1 AUSTRALIA CORP ACU NICK M Aerospace/Defense
2 NEW Z CORP NZC NICK M Aerospace/Defense
3 ZIMBABWE CORP ZCC NICK B Aerospace/Defense
4 MASVINGO CORP MCC NICK C Aerospace/Defense<
great addition, I love it, could you show us how to properly filter, navigate to other pages and other features of the component on the server side. Since I work with big data in the browser for the most part, it makes no sense to display the entire dataset
looks like AG Grid uses Virtual DOM. is there an easy way to redraw the component if itās not visible when sent to the browser? Tabulator also uses Virtual DOM and requires a lot of tricksā¦ Iāll use Dash DataTable or even pure html tables where I can to avoid this situation. For instance , one use case is to render the table in a bootstrap tab that isnāt visible on initial load