Installation

Last updated on
11 February 2023

ag-Grid Library

After install, the module should be able to function off of the default set CDN to the ag-Grid library. However, it is recommended that you download and setup the ag-Grid library. As what can be seen in the libraries.yml file, all items should be in a new ag-grid libraries folder:

  • /libraries/ag-grid
  • /libraries/ag-grid/ag-grid-community/
  • /libraries/ag-grid/ag-grid-enterprise/

- Make sure these are added to your composer.json
composer require wikimedia/composer-merge-plugin composer/installers

- Edit the "composer.json" file of your website and under the "extra": { section add:

"merge-plugin": {
            "include": [
                "web/modules/contrib/aggrid/composer.libraries.json"
            ]
        }

** Note - May need to modify the include based on your site implementation from root. You could also create your own custom composer library to retrieve a specific version.

- Re-run composer to include the required libraries

composer update drupal/aggrid --with-dependencies

agGrid module Configuration

Once enabled, the ag-Grid module provides a link for setting version under Drupal Configuration > Content Authoring section. In this area, you can set the module to either use the Community or Enterprise version and set CDN or Local (if downloaded). For Enterprise, you can also provide a license key. You can obtain a trial Enterprise key or purchase a key on the ag-Grid website.

Help improve this page

Page status: No known problems

You can: