Answers for "bootstrap table conflict with background color width"

1

bootstrap table dense

<!-- BOOTSTRAP V3 -->
<table class="table table-condensed">
  ...
</table>
<!-- BOOTSTRAP v4 -->
<table class="table table-sm">
  ...
</table>
Posted by: Guest on June-30-2020
0

bootstrap table striped hidden rows

// For Bootstrap 4
$("tr:visible").each(function (index) {
    $(this).css("background-color", !!(index & 1)? "rgba(0,0,0,.05)" : "rgba(0,0,0,0)");
});

// For previous versions
$("tr:not(.hidden)").each(function (index) {
    $(this).toggleClass("stripe", !!(index & 1));
});
Posted by: Guest on July-02-2020

Code answers related to "bootstrap table conflict with background color width"

Browse Popular Code Answers by Language