1.1.52 • Published 6 years ago

jsql-smarttable v1.1.52

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

JSQL Javascript Smart Table

JSQL is a pure javascript table manager. It is designed to be used to create advanced graphical table components with front end frameworks like react and vue. To see some of its graphical components see the JSQL-Vue project: https://github.com/db-rdz/JSQL-Vue

Installation

Install the jsql-smarttable package through npm:

npm install jsql-smarttable

and then import the package to your project:

import { TableObject } from 'jsql-smarttable';

Table Constructor

The constructor of the TableObject class takes as a parameter a single Object. You can pass the desired table information or options within this object. The following example shows all the keys that can be included in the constructor object:

Const clientsTable  = new TableObject({
  name: 'Clients',
  columns: [],
  rows: [],
  filters: [],
  options: {
    allowCellEditing: true,
    allowCellAdding: true,
    allowColumnAdding: true,
    allowColumnRemoving: true,
    allowRowAdding: true,
    allowRowRemoving: true,
    allowTableSearching: true,
    allowColumnSearching: true,
    allowFilterCreation: true,
    allowFilterDeletion: true,
    allowFiltering: true,
  },
});

API

API docs coming soon...

Examples

Examples coming soon...

Roadmap

V1

  • Adding
    • Adding Columns
    • Adding Rows
    • Adding Filters // Have some issues
  • Deleting
    • Deleting Columns
    • Deleting Rows
    • Deleting Filters
  • Editing
    • Edit Table Name
    • Edit Cells // Have some issues
    • Edit Columns
    • Edit Filters
  • Filtering // Has some issues
  • Search
    • Search Table
    • Search Columns
  • Sortable Columns
  • Data Validation // Need to include custom Regex validation.

NOTE

This project is at a beta state and is not ready for production.

License

MIT License

1.1.52

6 years ago

1.1.51

6 years ago

1.1.50

6 years ago

1.1.49

6 years ago

1.1.48

6 years ago

1.1.47

6 years ago

1.1.46

6 years ago

1.1.45

6 years ago

1.1.44

6 years ago

1.1.43

6 years ago

1.1.42

6 years ago

1.1.41

6 years ago

1.1.40

6 years ago

1.1.39

6 years ago

1.1.38

6 years ago

1.1.37

6 years ago

1.1.36

6 years ago

1.1.35

6 years ago

1.1.33

6 years ago

1.1.32

6 years ago

1.1.31

6 years ago

1.1.30

6 years ago

1.1.29

6 years ago

1.1.28

6 years ago

1.1.27

6 years ago

1.1.26

6 years ago

1.1.25

6 years ago

1.1.24

6 years ago

1.1.23

6 years ago

1.1.22

6 years ago

1.1.21

6 years ago

1.1.20

6 years ago

1.1.19

6 years ago

1.1.18

6 years ago

1.1.17

6 years ago

1.1.16

6 years ago

1.1.15

6 years ago

1.1.14

6 years ago

1.1.13

6 years ago

1.1.12

6 years ago

1.1.11

6 years ago

1.1.10

6 years ago

1.1.9

6 years ago

1.1.8

6 years ago

1.1.7

6 years ago

1.1.6

6 years ago

1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago