Skip to main content

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


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.9.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

reflex_ag_grid-0.0.9-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: reflex_ag_grid-0.0.9.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for reflex_ag_grid-0.0.9.tar.gz
Algorithm Hash digest
SHA256 819a2a830457730fe17b86b080753167f1425263b9ff89455b30242365c79a57
MD5 25a3bc0c430469bc8280ad0011e44f76
BLAKE2b-256 e2b5f755b7950fecc5b91336dcda1a2bc0621434c231aa4485b1f584db908a08

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for reflex_ag_grid-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 81c887b692ec669cb8426afefd9b029fc3c9f6d50a10540cdd36b1e4e59282bf
MD5 8b244edcf13c7d699682a247cbf68dcc
BLAKE2b-256 9ce2e663b804baeced58d571dbb97e230e3ee1b257bed8bbdd51975c3de34c91

See more details on using hashes here.

Supported by

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