Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ytkj/ag-grid-react-components

AgGrid framework components for React, powered by TypeScript.
https://github.com/ytkj/ag-grid-react-components

Last synced: 4 days ago
JSON representation

AgGrid framework components for React, powered by TypeScript.

Awesome Lists containing this project

README

        

# ag-grid-react-components
AgGrid framework components for React, powered by TypeScript.

## Installation

1. `npm install -S ag-grid-react-components`

## Usage

### RankFilter

1. import `RankFilter`

```typescript
import { RankFilter } from 'ag-grid-react-components'
```

1. set `RankFilter` to `columnDef.filterFramework`

```tsx

```

#### Result

![RankFilter screenshot](https://ytkj.github.io/ag-grid-react-components/images/rank-filter.png)

#### Server-side

`'rank'` filter type can be handled by [sqlalchemy-ag-grid](https://github.com/ytkj/sqlalchemy-ag-grid) with Python + Flask + SQLAlchemy stack.

### SetFilter

1. import `setFilterFactory`

```typescript
import { setFilterFactory } from 'ag-grid-react-components'
```

1. create `SetFilter` by `setFilterFactory()` and set it to `columnDef.filterFramework`

```tsx

```

#### Result

![SetFilter screenshot](https://ytkj.github.io/ag-grid-react-components/images/set-filter.png)

## Test

1. `git clone https://github.com/ytkj/ag-grid-react-components.git`
1. `cd ag-grid-react-components`
1. `npm install`
1. `npm test`
1. open http://localhost:3000 in your browser.