Skip to content

Latest commit

 

History

History
 
 

ag-grid

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

cljsjs/ag-grid - The JavaScript Datagrid for Enterprise

React Toolbox depends on React with Addons, so, to be able to use it, you not only have to depend in cljsjs/ag-grid:

[cljsjs/ag-grid "17.0.0-0"] ;; latest release

This jar comes with deps.cljs as used by the Foreign Libs feature of the ClojureScript compiler. After adding the above dependency to your project you can require the packaged library like:

(ns application.core
  (:require [cljsjs.ag-grid]))

Upgrading

When upgrading ag-grid, you need to regenerate the externs:

  1. Go to https://cdnjs.com/libraries/ag-grid/ such as https://cdnjs.com/libraries/ag-grid/10.0.1
  2. Find the URL for ag-grid.js, such as: https://cdnjs.cloudflare.com/ajax/libs/ag-grid/8.2.0/ag-grid.js
  3. Go to http://jmmk.github.io/javascript-externs-generator
  4. Paste the URL for ag-grid.js and click load.
  5. Name the JavaScript object agGrid.
  6. Click "Extern!"
  7. Copy the JavaScript value to resources/cljsjs/ag-grid/common/ag-grid.ext.js