refine the description of filter

This commit is contained in:
Chun-MingChen 2018-04-05 16:22:44 +08:00
parent 0e833f580e
commit ba88b7192f
2 changed files with 11 additions and 4 deletions

View File

@ -6,14 +6,21 @@ title: Column Filter Props
## Content Table
* [Getting Started](#getting-started)
* [How to use](#how-to-use)
* [FilterFactory Props](#filterfactory-props)
* [Filters](#filters-props)
* [Props of FilterFactory](#props-of-filterfactory)
* [Props of Filters](#props-of-filters)
* [textFilter](#1-textfilter)
* [selectFilter](#2-selectFilter)
* [numberFilter](#3-numberFilter)
* [Comparator](#comparator)
## Getting Started
```
$ npm install react-bootstrap-table2-filter --save
```
After installing `react-bootstrap-table2-filter`, you can configure `filter` on table as following instruction.
## How to use
You should apply following **2** to enable `filter` functionality for `react-bootstrap-table2`.
* `filterFactory`

View File

@ -233,11 +233,11 @@ paginationFactory({
`filter` allows users to filter data by columns. For more information, please navigate to [filter-props](./filter-props.html).
**Getting Started**
```sh
```
$ npm install react-bootstrap-table2-filter --save
```
After installation of `react-bootstrap-table2-filter`, you can configure filter on table easily:
After installing `react-bootstrap-table2-filter`, you could easily enable the functionality of `filter`.
**Example**
```js