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
FAQ
-
The grid doesn't appear but I don't have any compilation error. What's wrong?
You need to wrap your grid inside a
rx.box
or arx.el.div
with appropriate style for dimensions (height, width).The grid will occupy the whole space of that wrapping element.
rx.box( ag_grid( id="grid_1", row_data=data, column_defs=columns, ), width="50vw", height="50vh", )
-
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
Hashes for reflex_ag_grid-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4650fdccc8eff64b20aca37746ed492fc7621a0ca380c22717fa8b30cdbeb67 |
|
MD5 | 72fe1a916fe97ef7a9268b552a216961 |
|
BLAKE2b-256 | be3329e4665db529b89d2621e1e3362028fb1a595e563bcc06bbaa1e21d8e5df |