Is there a way to deactivate the hover state on table rows in Bootstrap Table?
It automatically set's it there...
Is there a way to deactivate the hover state on table rows in Bootstrap Table?
It automatically set's it there...
表的默认 CSS 类是'table table-hover'
. 只需删除table-hover
类即可删除效果。
您可以全局删除所有表格的悬停效果:http: //jsfiddle.net/e3nk137y/1437/
$.extend($.fn.bootstrapTable.defaults, {classes:'table'});
对于单个表,您可以设置data-classes="table"
:http: //jsfiddle.net/e3nk137y/1436/
<table id="table" data-classes="table">