mirror of
https://github.com/gosticks/react-bootstrap-table2.git
synced 2026-03-24 06:34:28 +00:00
patch story
This commit is contained in:
@@ -45,7 +45,22 @@ const columns = [{
|
||||
dataField: 'id',
|
||||
text: 'Product ID',
|
||||
events: {
|
||||
onClick: () => alert('Click on Product ID field')
|
||||
onClick: (e, column, columnIndex, row, rowIndex) => {
|
||||
console.log(e);
|
||||
console.log(column);
|
||||
console.log(columnIndex);
|
||||
console.log(row);
|
||||
console.log(rowIndex);
|
||||
alert('Click on Product ID field');
|
||||
},
|
||||
onMouseEnter: (e, column, columnIndex, row, rowIndex) => {
|
||||
console.log(e);
|
||||
console.log(column);
|
||||
console.log(columnIndex);
|
||||
console.log(row);
|
||||
console.log(rowIndex);
|
||||
console.log('onMouseEnter on Product ID field');
|
||||
}
|
||||
}
|
||||
}, {
|
||||
dataField: 'name',
|
||||
|
||||
Reference in New Issue
Block a user