katzy687 / ag-grid-react-demo

A demo data grid component using ag-grid-react and react-select

Home Page:https://natti-agdemo.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ag-grid-react demo

Demo data table grid built with ag-grid-react. Additional external filter integrated with react-select drop down component.

Demo project can be viewed deployed here.

Column Customization Details

  • Name - integrated "contains" text filter
  • Created - Date Picker range filter
  • Asset Type - integrated external filter with react-select drop down.
  • Is Crown Jewel - custom icon displayed based on boolean logic. Can update boolean value of cells.

External Filter Integration Details

The external react-select drop down was integrated because the ag-grid integrated set filters are "enterprise only" feature and not free. The logic implemented is for the react-select component to update state that is shared by the parent component of the table and select. The parent component then uses the ag-grid api to update a custom external filter on the ag-grid.

Dev Details

Project was scaffolded using Vite + React + Typescript template.

To run locally

git clone
npm install
npm run dev

Unit testing with vitest

npm run test

About

A demo data grid component using ag-grid-react and react-select

https://natti-agdemo.netlify.app/


Languages

Language:TypeScript 88.0%Language:CSS 7.9%Language:JavaScript 2.3%Language:HTML 1.9%