AGGrid wrapping for Reflex
Project description
AGGrid for Reflex
This package provides a Reflex component wrapping the AGGrid library.
[!WARNING] As it is a WorkInProgress (WIP), only some parts of the AGGrid library features are wrapped, but it should be enough for most use cases.
Installation
pip install reflex-ag-grid
Usage
from reflex_ag_grid import ag_grid
Helpers tools
Some implementation is offered for DataSource and handlers.
from reflex_ag_grid.data_source import DataSource
from reflex_ag_grid import handlers
Simple Example
import reflex as rx
from reflex_ag_grid import ag_grid
import pandas as pd
df = pd.read_csv(
"https://raw.githubusercontent.com/plotly/datasets/master/wind_dataset.csv"
)
column_defs = [
ag_grid.column_def(field="direction"),
ag_grid.column_def(field="strength"),
ag_grid.column_def(field="frequency"),
]
def ag_grid_simple():
return ag_grid(
id="ag_grid_basic_1",
row_data=df.to_dict("records"),
column_defs=column_defs,
)
Check out more documentation at Reflex.
FAQ
-
The AGGrid feature I want is not available. What can I do?
This component is a partial wrapping of all the features of AGGrid. If you need a feature that is not available, open an issue to request it. We will try to implement it when possible.
If you can't wait for the team to implement it, you can also submit a PR with the feature you need.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file reflex_ag_grid-0.0.8.tar.gz
.
File metadata
- Download URL: reflex_ag_grid-0.0.8.tar.gz
- Upload date:
- Size: 12.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f9c06b70cf91e789fa6ed74510d8fd0489cc0c9ee9513d2fc04b484a044b36a |
|
MD5 | 680203e200ae4b11e6bb781a0b2bf7c6 |
|
BLAKE2b-256 | 09e8c602cbf39376ef47ef55a8be8dffa0bb7daa81f4cefac6da4143852bc34a |
Provenance
File details
Details for the file reflex_ag_grid-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: reflex_ag_grid-0.0.8-py3-none-any.whl
- Upload date:
- Size: 12.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 411ec0c2d292a277e35678bf788dac427b02d12e4e89bcad94ff3af61b9d5b13 |
|
MD5 | 16e07762fa6cf9c651db0bf79ae75401 |
|
BLAKE2b-256 | bcae375dde53032d6411f0452179472f7c25204cc7aaa04de6a9242f0917be65 |