Skip to main content

Use Aggrid Enterprise in your NiceGUI app.

Project description

NiceGUI AG Grid Enterprise

This is a custom component for NiceGUI that integrates AG Grid Enterprise, a powerful and feature-rich data grid for JavaScript. This component allows you to easily incorporate AG Grid Enterprise into your NiceGUI applications, providing advanced grid functionalities such as sorting, filtering, and editing.

Installation

To install the NiceGUI AG Grid Enterprise component, use the following pip command:

pip install nicegui-aggrid-enterprise

Usage

Below is a minimally usable example of how to use the AG Grid Enterprise component in your NiceGUI application:

from nicegui import ui
from nicegui_aggrid_enterprise import aggrid

# Set license key
aggrid.license_key = "MY_AGGRID_LICENSE_KEY"

# Define grid options
options = {
    'columnDefs': [
        {'headerName': 'Make', 'field': 'make'},
        {'headerName': 'Model', 'field': 'model'},
        {'headerName': 'Price', 'field': 'price'}
    ],
    'rowData': [
        {'make': 'Toyota', 'model': 'Celica', 'price': 35000},
        {'make': 'Ford', 'model': 'Mondeo', 'price': 32000},
        {'make': 'Porsche', 'model': 'Boxster', 'price': 72000}
    ],
    'rowSelection': 'single',
    'editable': True
}

# Create an instance of aggrid
grid = aggrid(options=options)

# Start the NiceGUI application
ui.run()

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

nicegui_aggrid_enterprise-0.1.5.tar.gz (2.0 MB view details)

Uploaded Source

Built Distribution

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

nicegui_aggrid_enterprise-0.1.5-py3-none-any.whl (1.9 MB view details)

Uploaded Python 3

File details

Details for the file nicegui_aggrid_enterprise-0.1.5.tar.gz.

File metadata

File hashes

Hashes for nicegui_aggrid_enterprise-0.1.5.tar.gz
Algorithm Hash digest
SHA256 affdae7e5d4422d89cddd755ab7a91c35fdfd22a35f3036e2cb22884e8ab5cfc
MD5 61241a0c617acd4b1460fb122a35729d
BLAKE2b-256 6661d9587da0df0a5c7882b491b58f6da0cb8de36964edc2e6656a0866b77c83

See more details on using hashes here.

File details

Details for the file nicegui_aggrid_enterprise-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for nicegui_aggrid_enterprise-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a94dded94e493143cb5adc2d2adcdecf92bf2953d290c9f599fe3364cd7bc3e7
MD5 fed80cea687140e66be265426605cade
BLAKE2b-256 5ead322128761b5c85cc52288ca774921d1723146f545ba65c3ccbf229d1eca8

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