AllenFang / AllenFang/react-bootstrap-table
Support columns props
Đang mở
- Ngôn ngữ chính
- JavaScript
- Star
- 2.2k
- Fork
- 761
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
@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`
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.