Liking cljdoc? Tell your friends :D
ClojureScript only.

pinkgorilla.ui.aggrid


aggridcljs

(aggrid data)

displays a seq in a table, uses ag-grid [aggrid {: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 "Boxter" :price 72000}]}]

displays a seq in a table, uses ag-grid
[aggrid {: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 "Boxter" :price 72000}]}]
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close