AllenFang / AllenFang/react-bootstrap-table
Support columns props
Aperta
- Lingua principale
- JavaScript
- Stelle
- 2.2k
- Fork
- 761
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
@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`
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.