# cheetah-grid
**Repository Path**: etimeman20/cheetah-grid
## Basic Information
- **Project Name**: cheetah-grid
- **Description**: 最快的js表格
- **Primary Language**: JavaScript
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 1
- **Forks**: 0
- **Created**: 2021-08-24
- **Last Updated**: 2022-03-08
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Cheetah Grid
[](https://github.com/future-architect/cheetah-grid)
[](https://www.npmjs.com/package/cheetah-grid)
[](http://www.npmtrends.com/cheetah-grid)
[](http://www.npmtrends.com/cheetah-grid)
[](http://www.npmtrends.com/cheetah-grid)
[](http://www.npmtrends.com/cheetah-grid)
[](https://github.com/future-architect/cheetah-grid/actions?query=workflow%3ACI)
[](https://future-architect.github.io/cheetah-grid/)
The fastest open-source data table for web.
[](https://future-architect.github.io/cheetah-grid/)
[DEMO & Documents](https://future-architect.github.io/cheetah-grid/)
## Downloading Cheetah Grid
### Using Cheetah Grid with a CDN
[](https://www.npmjs.com/package/cheetah-grid)
```html
```
### Downloading Cheetah Grid using npm
[](https://www.npmjs.com/package/cheetah-grid)
```sh
npm install -S cheetah-grid
```
```js
import * as cheetahGrid from 'cheetah-grid'
// or
const cheetahGrid = require("cheetah-grid")
```
### Downloading Cheetah Grid source code
[](https://www.npmjs.com/package/cheetah-grid)
[cheetahGrid.es5.min.js](https://unpkg.com/cheetah-grid@1.1/dist/cheetahGrid.es5.min.js)
SourceMap
[cheetahGrid.es5.min.js.map](https://unpkg.com/cheetah-grid@1.1/dist/cheetahGrid.es5.min.js.map)
### Downloading Cheetah Grid using GitHub
[](https://github.com/future-architect/cheetah-grid)
#### git clone
```bash
git clone https://github.com/future-architect/cheetah-grid.git
```
#### npm install & build
```bash
npm install
npm run build
```
built file is created in the `./packages/cheetah-grid/dist` directory
## Usage
### Example for basic usage
```html
```
Please refer to the [documents](https://future-architect.github.io/cheetah-grid/) for details
> **Using the Vue Component of Cheetah Grid**
> Please refer to the [`vue-cheetah-grid`](https://www.npmjs.com/package/vue-cheetah-grid)
### Definition of columns and headers
The `header` property, the property of `cheetahGrid.ListGrid`, decides the behave and appearance of columns and header cells.
We can set this property by constructor arguments or instance property.
The `header` property must be set by objects array (`Array