mirror of
https://github.com/gosticks/react-bootstrap-table2.git
synced 2025-10-16 11:55:39 +00:00
add optional key parameter to column
This commit is contained in:
parent
ae4f503b30
commit
2cd5d65db1
@ -48,7 +48,7 @@ const Header = (props) => {
|
||||
return (
|
||||
<HeaderCell
|
||||
index={ i }
|
||||
key={ column.dataField }
|
||||
key={ column.key ? column.key : column.dataField }
|
||||
column={ column }
|
||||
onSort={ onSort }
|
||||
sorting={ currSort }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user