Is there a way to deactivate the hover state on table rows in Bootstrap Table?
It automatically set's it there...
The default CSS class of the table is 'table table-hover'. Simply remove the table-hover class to remove the effect.
You can remove the hover effect globally for all tables: http://jsfiddle.net/e3nk137y/1437/
$.extend($.fn.bootstrapTable.defaults, {classes:'table'});
For a single table, you can set data-classes="table": http://jsfiddle.net/e3nk137y/1436/
<table id="table" data-classes="table">
If you want to remove the hover effect while retaining the table borders:
$.extend($.fn.bootstrapTable.defaults, {classes:'table table-bordered'});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With