Skip to content

Commit 416a98a

Browse files
committed
CHANGELOG
1 parent 19aba9a commit 416a98a

File tree

1 file changed

+1
-27
lines changed

1 file changed

+1
-27
lines changed

CHANGELOG.md

+1-27
Original file line numberDiff line numberDiff line change
@@ -21,33 +21,7 @@
2121
* Available to drop row by API([88062b7](https://github.com/AllenFang/react-bootstrap-table/commit/88062b7b04dbed76b76ef8f0045f38ab1ebb256e))
2222
* Check this [thread](https://github.com/AllenFang/react-bootstrap-table/issues/168)
2323
* Available to filter by column through API</br>
24-
```javascript
25-
export default class FilterTable extends React.Component{
26-
/* handle dropdown on select */
27-
handleDropDownSelect(e){
28-
/* find name eq Book and price eq 120 */
29-
this.refs.table.handleFilterData({
30-
name: "Book",
31-
price: 120
32-
});
33-
}
34-
render(){
35-
return (
36-
<div>
37-
/* your dropdown....,
38-
if dropdown select then bind to handleDropDownSelect
39-
... */
40-
/* your table */
41-
<BootstrapTable ref="table" data={products}>
42-
<TableHeaderColumn dataField="id" isKey={true}>Product ID</TableHeaderColumn>
43-
<TableHeaderColumn dataField="name">Product Name</TableHeaderColumn>
44-
<TableHeaderColumn dataField="price">Product Price</TableHeaderColumn>
45-
</BootstrapTable>
46-
</div>
47-
);
48-
}
49-
};
50-
```
24+
* Check this [thread](https://github.com/AllenFang/react-bootstrap-table/issues/165#issuecomment-161708369)
5125

5226
<a name="v1.2.15"></a>
5327
# [v1.2.15](https://github.com/AllenFang/react-bootstrap-table/compare/v1.2.14...v1.2.15) (2015-12-01)

0 commit comments

Comments
 (0)