-
Notifications
You must be signed in to change notification settings - Fork 431
Closed
Labels
Description
Hi,
onSelect*
handlers take three arguments, but the Event is not between them. Given the following code:
<BootstrapTable
onClick={this.handleChildUnmount}
striped
condensed
keyField="token"
classes="bootstrap-table"
data={this.state.rows}
columns={this.columns}
defaultSorted={[{
dataField: 'ssid',
order: 'asc',
}]}
rowEvents={{ onClick: (e, row) => this.onClickRow(row) }}
selectRow={{
mode: 'checkbox',
selected: this.state.selected,
onSelect: this.handleOnSelect,
onSelectAll: this.handleOnSelectAll,
classes: 'selectedRow',
}}
/>
rowEvents
is an handler which leads the user to another section, but when I click on the checkbox to select the row, by the fact that the event is not available, I cannot invoke e.stopPropagation()
so even the other event is triggered and I'm always redirected to another section.
It would be very helpful to have Event between arguments. If you see that this can be achieved in another way with the current code, please let me know.
Best wishes.