AllenFang / AllenFang/react-bootstrap-table

Support columns props

Aberta
#84 6 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
JavaScript
Estrelas
2.2k
Forks
761
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

@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`

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.