AllenFang / AllenFang/react-bootstrap-table
Support columns props
Open
- Dominant language
- JavaScript
- Stars
- 2.2k
- Forks
- 761
- PR merge metrics
- No merged PRs in 30d
Description
@AllenFang
```
let columns = [{
title: 'Product ID',
dataField: 'id',
sortable: true,
hidden: true,
textAlign: 'center'
}, {
title: 'Product ID',
dataField: 'pid',
sortable: true
}, {
title: 'Product Price',
dataField: 'price',
sortable: true
}];
```
其中使用 `rowKey` 替代 `TableHeaderColumn` 中的 `isKey`。这样如果 'key`列不需要显示就不用再配置`column`
Contributor guide
Assessment
This issue has not been assessed yet.