Skip to content

Commit 19aba9a

Browse files
committed
CHANGELOG
1 parent 36f9864 commit 19aba9a

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

CHANGELOG.md

+7-6
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
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-
```
24+
```javascript
2525
export default class FilterTable extends React.Component{
26-
// handle dropdown on select
26+
/* handle dropdown on select */
2727
handleDropDownSelect(e){
28-
// find name eq Book and price eq 120
28+
/* find name eq Book and price eq 120 */
2929
this.refs.table.handleFilterData({
3030
name: "Book",
3131
price: 120
@@ -34,9 +34,10 @@
3434
render(){
3535
return (
3636
<div>
37-
// your dropdown...., if dropdown select then bind to handleDropDownSelect
38-
// ...
39-
// your table
37+
/* your dropdown....,
38+
if dropdown select then bind to handleDropDownSelect
39+
... */
40+
/* your table */
4041
<BootstrapTable ref="table" data={products}>
4142
<TableHeaderColumn dataField="id" isKey={true}>Product ID</TableHeaderColumn>
4243
<TableHeaderColumn dataField="name">Product Name</TableHeaderColumn>

0 commit comments

Comments
 (0)