AllenFang / AllenFang/react-bootstrap-table
How to access dataField in dataFormat?
Open
- Dominant language
- JavaScript
- Stars
- 2.2k
- Forks
- 761
- PR merge metrics
- No merged PRs in 30d
Description
I have below code
`render() {
const col = [ 'id', 'name', 'price' ];
return (
{ col.map(name => { name }) }
);
}`
Now I want to add **dataFormat** to **TableHeaderColumn**. How can I acces dataField in dataFormat to know the key?
Contributor guide
Assessment
This issue has not been assessed yet.