0.1.21 • Published 1 month ago

table-actions v0.1.21

Weekly downloads
-
License
(LGPL-3.0)
Repository
github
Last release
1 month ago

Table actions

Simple & customizable table with search, sort, pagination and checkbox functions in vanilla JS

Development

Docker container running lite-server and watching code changes

make watch

Results can be tested in demos:

Generate bundle

Local bundle pack with project name and actual project version in root folder

make bundle

Run tests

Execute all tests suites of root /tests folder

make test

More

To see all make commands

make help

Installation

yarn add table-actions

Or 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/dist/table-actions.min.css"
/>
<script src="https://unpkg.com/table-actions@latest/dist/table-actions.min.js"></script>

Run

// 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

Features

  • Checkable columns with callback function to interact with selected elements
  • Paginate
  • Sortable columns
  • Sort by date
  • Theme light and dark
  • Mobile theme options full responsive
  • Search field
  • Populate table with json data (example: demo/json-data-table.html)

Roadmap

  • API request data to populate Table

References

Theme and mobile reference

0.1.21

1 month ago

0.1.20

11 months ago

0.1.19

11 months ago

0.1.17

1 year ago

0.1.18

1 year ago

0.1.10

2 years ago

0.1.11

2 years ago

0.1.12

2 years ago

0.1.13

2 years ago

0.1.14

2 years ago

0.1.15

1 year ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.16

1 year ago

0.1.7

2 years ago

0.1.9

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.0

2 years ago

0.1.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago