AllenFang / AllenFang/react-bootstrap-table

Support columns props

Open
#84 6 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.