Skip to main content

AGGrid wrapping for Reflex

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

[!WARNING]
This component is no longer maintained. For the AG Grid maintained by the Reflex team, please use https://enterprise.reflex.dev/ag-grid from now on.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

reflex_ag_grid-0.0.11.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

reflex_ag_grid-0.0.11-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file reflex_ag_grid-0.0.11.tar.gz.

File metadata

  • Download URL: reflex_ag_grid-0.0.11.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for reflex_ag_grid-0.0.11.tar.gz
Algorithm Hash digest
SHA256 0759c1201318ed2d01b2921d1c13ae7549a15955de5d17c910c24fc29bcb4131
MD5 5d4213191c0742ee415c16900746c693
BLAKE2b-256 1ae3a1bff136ae12078418cb4d82ee34283c63a5c590bbb9ad17c8f4511ca428

See more details on using hashes here.

File details

Details for the file reflex_ag_grid-0.0.11-py3-none-any.whl.

File metadata

File hashes

Hashes for reflex_ag_grid-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 7c52f48d3479870fa2e82bdbe597601609e40209124fcde9faabf6683f53e5bb
MD5 ed03b7ef2b6a292ad84893a005771e20
BLAKE2b-256 21cefb4e975be594b5a5ecef5af79704d66d37a2fd2c0a49da2752ff674086c5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page