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.2.tar.gz (2.0 MB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for nicegui_aggrid_enterprise-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f6cd9ad203105be1ee57aa3731b10ba7a92a69d70a5bde7b59d13100be46bbb3
MD5 0a5cfdf4c5bd0329c982577d7f30f801
BLAKE2b-256 ac5b896718c5dfd4baf6d91d07624f7d4e0c86dc1813676421ef88fa69aa7f27

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nicegui_aggrid_enterprise-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 82add03a499c095483f50a8102af3a6059ca11b7cffd481ddf50e6e9549f319c
MD5 e443e6cef3b56f1c64adc35a588ecf17
BLAKE2b-256 c109e8965a32e7104dc6fc3685191fc490ad4d430ead28a5de46d3e10373eb2c

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