Simple & customizable table with search, sort, pagination and checkbox functions in vanilla JS with extra functionalities
Docker container running lite-server and watching code changes
make watchResults can be tested in demos:
Local bundle pack with project name and actual project version in root folder
make bundleExecute all tests suites of root /tests folder
make testTo see all make commands
make helpyarn add table-actionsOr directly in the HTML file
<!-- Add to head HTML tag -->
<link rel="stylesheet" href="./css/table-actions.min.css" />
<!-- Add to the bottom of body HTML tag -->
<script src="./dist/table-actions.js"></script>
<!-- or directly from unpkg -->
<link
rel="stylesheet"
href="https://unpkg.com/table-actions@latest/css/table-actions.min.css"
/>
<script src="https://unpkg.com/table-actions@latest/dist/table-actions.min.js"></script>// Utils library functions: toNormalForm and newElement can be imported here
import { TableActions } from "table-actions";
const table = new TableActions("elementOrQuerySelector", {
/* options */
}); // only this line when included with script HTML tag- Select column search with all values of a column to be selected as filter