mirror of
https://github.com/gosticks/react-bootstrap-table2.git
synced 2026-06-28 21:20:04 +00:00
correct attribute key of columns.headerEvent in column-event-tables
This commit is contained in:
@@ -28,7 +28,7 @@ import BootstrapTable from 'react-bootstrap-table-next';
|
||||
const columns = [{
|
||||
dataField: 'id',
|
||||
text: 'Product ID',
|
||||
events: {
|
||||
headerEvents: {
|
||||
onClick: () => alert('Click on Product ID header column')
|
||||
}
|
||||
}, {
|
||||
|
||||
Reference in New Issue
Block a user