Deactivate hover state on table rows in Bootstrap table
Is there a way to disable hover state on table rows in Bootstrap table ?
It automatically installs it there ...
+3
source to share
1 answer
The default CSS class for the table 'table table-hover'
. Just remove the class table-hover
to remove the effect.
You can remove hover effect globally for all tables: http://jsfiddle.net/e3nk137y/1437/
$.extend($.fn.bootstrapTable.defaults, {classes:'table'});
For one table, you can install data-classes="table"
: http://jsfiddle.net/e3nk137y/1436/
<table id="table" data-classes="table">
+4
source to share