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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for nicegui_aggrid_enterprise-0.1.0.tar.gz
Algorithm Hash digest
SHA256 040b85ed5f942b878779efbb0746e52587d0a28b2fed49d449102dcba808e640
MD5 e540e6452cdecf0cddc43a07f3787cf1
BLAKE2b-256 8391396ef39c6debb2ed374231be74cdbbdb77b5b91a13febf37ab2b885c7e75

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nicegui_aggrid_enterprise-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fb5499c17184f85f83d58963d9f700764131d7f454e10b3fa5ecaebac7a1ec55
MD5 8c78bb0a67c97a01335b9ceca52e5c36
BLAKE2b-256 af243ac14b42204bdf3b811b93e2d7ce9998b711c4fc2f2b0027ccedbaafee7d

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