Client-side data processing

Welcome to the TableHandler API

The documentation is partly generated from source using an AST Parser.

Quick start

Basically it all starts with a ”TableHandler” instanciation.

import { TableHandler } from '@vincjo/datatables'
const table = new TableHandler([])

From then on, you can access any properties documented here:

table.rows
table.currentPage
table.isAllSelected
table.rowCount
...

… And methods:

table.setRowsPerPage(10)
table.select(row.id)
table.setPage('previous')
table.createSort()
...

Most of properties are runes that update dynamically according to client-side interactions.

Most of methods are setters to handle data events with less boilerplate.

All create methods extend the API for more advanced usage such as aggregate calculations applied to columns, multiple-criteria filters, column visibility, column filters…