AG

Ag Grid Community

ag-grid-community

Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue

Tables
ag
ag-grid
datagrid
data-grid
data grid
datatable
data-table
data table
grid
table
Stars
1
Weekly
0
Open issues
0
Bundle
~60 kB

Installation

npm install ag-grid-community

Code example

import { useAgGridCommunity } from "ag-grid-community";

const rows = [
  { id: 1, name: "Ada", role: "Engineer" },
  { id: 2, name: "Linus", role: "Maintainer" },
];

export function Example() {
  const table = useAgGridCommunity({ data: rows, columns: [{ accessorKey: "name" }, { accessorKey: "role" }] });
  return <pre>{JSON.stringify(table, null, 2)}</pre>;
}

Pros & cons

Pros

  • Actively maintained by Sean Landsman
  • 0 weekly downloads. Battle tested
  • First-class TypeScript definitions
  • MIT licensed

Considerations

  • Adds roughly ~60 kB to your bundle
  • Needs client-only rendering in SSR frameworks
  • Not supported in React Native
  • 0 open issues on GitHub

FAQs

Alternatives & similar libraries