mirror of
https://github.com/gosticks/react-bootstrap-table2.git
synced 2025-10-16 11:55:39 +00:00
patch story
This commit is contained in:
parent
7220b2d073
commit
465212ff35
@ -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',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user