A table plugin for Bootstrap 4. (github)
#
column.<table id="table1" class="table table-bordered"></table>
<script>$(() => $("#table1").table({ "data": iris }));</script>
If the number of navigation items is at least the number of pages then the prev and next items are removed.
<table id="table2" class="table"></table>
<script>$(() => $("#table2").table({ "data": iris, "nav": { "items": 100 }}));</script>
Increase the number of rows per page from 10 to 20.
<table id="table3" class="table table-striped"></table>
<script>$(() => $("#table3").table({ "data": iris, "paginate": 20 }))</script>
The columns with dropdown cells are found at the end of the table. A responsive table has a horizontal scroll if it would not otherwise fit the page.
<table id="table4" class="table table-bordered"></table>
<script>$(() => $("#table4").table({ "data": starwars, "responsive": true }))</script>
Values from selected columns may be pulled from a table with
.table("selected")
. Try selecting columns from the above table.
<table id="table5" class="table"></table>
<script>
$(() => $("#table4").on("chabudai:select", (e) => {
$("#table5").table({ "data": $("#table4").table("selected") });
}));
</script>