• Stars
    star
    11,611
  • Rank 2,696 (Top 0.06 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 9 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The best JavaScript Data Table for building Enterprise Applications. Supports React / Angular / Vue / Plain JavaScript.

AG Grid HTML5 Grid trusted by the community, built for enterprise

CDNJS Github Stars Twitter

Module Info
ag-grid-community npm
Quality Gate Status
ag-grid-enterprise npm
Quality Gate Status

AG Grid

AG Grid is a fully-featured and highly customizable JavaScript data grid. It delivers outstanding performance, has no third-party dependencies and integrates smoothly with all major JavaScript frameworks.

Here's how our grid looks with multiple filters and grouping enabled:

Image of AG Grid showing filtering and grouping enabled.

Features

In addition to the standard set of features you'd expect from any grid:

  • Column Interactions (resize, reorder, and pin columns)
  • Pagination
  • Sorting
  • Row Selection

Here are some of the features that make AG Grid stand out:

  • Grouping / Aggregation *
  • Accessibility support
  • Custom Filtering
  • In-place Cell Editing
  • Records Lazy Loading *
  • Server-Side Records Operations *
  • Live Stream Updates
  • Hierarchical Data Support & Tree View *
  • Customizable Appearance
  • Customizable Cell Contents
  • State Persistence
  • Keyboard Navigation
  • Data Export to CSV
  • Data Export to Excel *
  • Excel-like Pivoting *
  • Row Reordering
  • Copy / Paste
  • Column Spanning
  • Pinned Rows
  • Full Width Rows
  • Integrated Charting
  • Sparklines

* The features marked with an asterisk are available in the Enterprise version only.

Check out the developer documentation for a complete list of features or visit our official docs for tutorials and feature demos.

Looking for a framework specific solution?

Getting started

Install dependencies

$ npm install --save ag-grid-community

Add a placeholder to HTML

<div id="myGrid" style="height: 150px; width: 600px" class="ag-theme-quartz"></div>

Import the grid and styles

import { createGrid } from 'ag-grid-community';

import 'ag-grid-community/styles/ag-grid.css';
import 'ag-grid-community/styles/ag-theme-quartz.css';

Set configuration

const gridOptions = {
	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 }
	]
};

Initialise the grid

const eGridDiv = document.querySelector('#myGrid');
const api = createGrid(eGridDiv, gridOptions);

For more information on how to integrate the grid into your project see Building AG Grid Applications.

Issue Reporting

If you have found a bug, please report it in this repository's issues section. If you're using the Enterprise version, please use the private ticketing system to do that.

Asking Questions

Look for similar problems on StackOverflow using the ag-grid tag. If nothing seems related, post a new message there. Please do not use GitHub issues to ask questions.

Contributing

AG Grid is developed by a team of co-located developers in London. If you want to join the team send your application to [email protected].

License

This project is licensed under the MIT license. See the LICENSE file for more info.

More Repositories

1

ag-grid-angular

TypeScript
197
star
2

ag-grid-react-example

Example of ag-Grid running with React
JavaScript
156
star
3

ag-grid-vue

Vue adaptor for ag-Grid
JavaScript
139
star
4

ag-grid-vue-example

Example of using ag-Grid with Vue
Vue
131
star
5

ag-grid-react

ag-Grid React Component
JavaScript
126
star
6

ag-charts

AG Charts is a fully-featured and highly customizable JavaScript charting library. The professional choice for developers building enterprise applications
TypeScript
61
star
7

thinkster

TypeScript
43
star
8

ag-grid-customise-theme

Example of customising a theme for ag-Grid
SCSS
38
star
9

react-data-grid

React Data Grid Examples used on the ag-grid blog
JavaScript
35
star
10

ag-grid-angular-cli-example

TypeScript
25
star
11

ag-grid-aurelia

Aurelia wrapper for ag-Grid project
JavaScript
23
star
12

ag-grid-server-side-nodejs-example

TSQL
20
star
13

ag-grid-server-side-oracle-example

Java
17
star
14

ag-grid-server-side-graphql-example

TSQL
13
star
15

ag-grid-aurelia-example

TypeScript
11
star
16

ag-grid-server-side-apache-spark-example

Java
8
star
17

javascript-data-grid

JavaScript Data Grid Examples used on the blog
HTML
6
star
18

ag-grid-vue3-example

Vue
6
star
19

ag-grid-webcomponent-example

5
star
20

ag-grid-charts-example

TypeScript
5
star
21

ag-grid-openfin-example

Example of ag-Grid in Openfin container
JavaScript
5
star
22

angular-data-grid

Angular Data Grid Examples Used on the AG Grid Blog
TypeScript
4
star
23

ag-grid-solid-example

TypeScript
3
star
24

ag-grid-enterprise

JavaScript
2
star
25

ag-grid-react-package-example

JavaScript
2
star
26

ag-grid-bundle

2
star
27

ag-grid-dev

Shell
2
star
28

ag-grid-vue3-package-example

Vue
2
star
29

ag-grid-polymer-example

JavaScript
2
star
30

devtools

AG Grid developer tools
TypeScript
2
star
31

ag-grid-angular-ws-rxjs-dashboard

TypeScript
1
star
32

ag-grid-polymer

JavaScript
1
star
33

ag-charts-vue-example

Vue
1
star
34

ag-grid-commonjs-example

JavaScript
1
star
35

examples

Examples of AG Grid
JavaScript
1
star
36

ag-grid-salesforce-examples

JavaScript
1
star
37

ag-charts-enterprise-example

TypeScript
1
star