All Projects → koalyptus → Tablefilter

koalyptus / Tablefilter

Licence: mit
A Javascript library making HTML tables filterable and a bit more :)

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Tablefilter

spring-boot-jpa-rest-demo-filter-paging-sorting
Spring Boot Data JPA with Filter, Pagination and Sorting
Stars: ✭ 70 (-71.77%)
Mutual labels:  pagination, sorting, filter
Queryql
Easily add filtering, sorting, and pagination to your Node.js REST API through your old friend: the query string!
Stars: ✭ 76 (-69.35%)
Mutual labels:  filter, pagination, sorting
Filterable
Filtering from incoming params in Elixir/Ecto/Phoenix with easy to use DSL.
Stars: ✭ 83 (-66.53%)
Mutual labels:  filter, pagination, sorting
ag-grid
The best JavaScript Data Table for building Enterprise Applications. Supports React / Angular / Vue / Plain JavaScript.
Stars: ✭ 8,743 (+3425.4%)
Mutual labels:  pagination, sorting, grid
Muuri React
The layout engine for React
Stars: ✭ 163 (-34.27%)
Mutual labels:  grid, filter, sorting
React Table
⚛️ Hooks for building fast and extendable tables and datagrids for React
Stars: ✭ 15,739 (+6246.37%)
Mutual labels:  grid, pagination, sorting
react-strap-table
react table (client and server-side) based on bootstrap.
Stars: ✭ 28 (-88.71%)
Mutual labels:  pagination, sorting, filter
Gridjs
Advanced table plugin
Stars: ✭ 3,231 (+1202.82%)
Mutual labels:  grid, filter, pagination
Easygrid
EasyGrid - VanillaJS Responsive Grid
Stars: ✭ 77 (-68.95%)
Mutual labels:  grid, filter
React Sortable Hoc
A set of higher-order components to turn any list into an animated, accessible and touch-friendly sortable list✌️
Stars: ✭ 9,747 (+3830.24%)
Mutual labels:  grid, sorting
Vue Table Dynamic
🎉 A dynamic table with sorting, filtering, editing, pagination, multiple select, etc.
Stars: ✭ 106 (-57.26%)
Mutual labels:  pagination, sorting
Jsonapi.rb
Lightweight, simple and maintained JSON:API support for your next Ruby HTTP API.
Stars: ✭ 116 (-53.23%)
Mutual labels:  filter, pagination
Depressurizer
A Steam library categorizing tool.
Stars: ✭ 1,008 (+306.45%)
Mutual labels:  filter, sorting
Revogrid
Powerful virtual data grid smartsheet with advanced customization. Best features from excel plus incredible performance 🔋
Stars: ✭ 1,870 (+654.03%)
Mutual labels:  grid, filter
Rummage phoenix
Full Phoenix Support for Rummage. It can be used for searching, sorting and paginating collections in phoenix.
Stars: ✭ 144 (-41.94%)
Mutual labels:  pagination, sorting
Muuri
Infinite responsive, sortable, filterable and draggable layouts
Stars: ✭ 9,797 (+3850.4%)
Mutual labels:  grid, filter
Datagrid
Datagrid for Laravel v5
Stars: ✭ 44 (-82.26%)
Mutual labels:  filter, pagination
Reactables
GigaTables is a ReactJS plug-in to help web-developers process table-data in applications and CMS, CRM, ERP or similar systems.
Stars: ✭ 112 (-54.84%)
Mutual labels:  grid, pagination
Shuffle
Categorize, sort, and filter a responsive grid of items
Stars: ✭ 2,170 (+775%)
Mutual labels:  grid, filter
Vue Bootstrap4 Table
Advanced table based on Vue 2 and Bootstrap 4 ⚡️
Stars: ✭ 187 (-24.6%)
Mutual labels:  pagination, sorting

Build Status Document codecov Greenkeeper badge Donate

TableFilter

A Javascript library making HTML tables filterable

TableFilter is a modernised version of the HTML Table Filter generator javascript plugin. This library adds to any html table a "filter by column" feature that enables users to filter and limit the data displayed within a long table. By default, the script automatically adds a filter grid bar at the top of the desired table.

Features

  • Convert a regular HTML table into an advanced grid component providing:
    • Advanced columns filtering model
    • Sorting and pagination capabilities
    • Complete selection model (ezEditTable extension)
    • Extended keyboard navigation (ezEditTable extension)
    • Inline cell or row editing (ezEditTable extension)
    • Row insertion or deleting (ezEditTable extension)
    • And even more features...
  • Attach to an existing HTML table
  • Integration with any server-side technology as this is a pure client-side solution
  • Exhaustive documentation and powerful API

Getting started

  • Clone the repo using Git:
git clone https://github.com/koalyptus/TableFilter.git
  • You can download this repository.

  • TableFilter is available on npm repository, you can install it from the command line using the following command:

npm install tablefilter --save-dev
  • or get the future features from the next release channel:
npm install [email protected] --save-dev

Setup

Using modules

Require TableFilter:

// ES2015 modules
import TableFilter from 'tablefilter';

// CommonJS or AMD modules
var TableFilter = require('tablefilter');

Using distribution scripts

If you are not using a module system, you can reference the distribution scripts directly in your html pages:

<script src="path_to/node_modules/tablefilter/dist/tablefilter/tablefilter.js"></script>

Placing manually the distribution scripts in your project

Copy the tablefilter directory under dist and place it at desired location in your project. Then include the main js file in your page:

<script src="path/to/my/scripts/tablefilter/tablefilter.js"></script>

Usage

Place the following snippet just under the HTML table and always define a base_path property in the configuration object to reflect the path to the script

<script>
var tf = new TableFilter(document.querySelector('.my-table'), {
    base_path: 'path/to/my/scripts/tablefilter/'
});
tf.init();
</script>

If the base_path property is not specified, it will default to /tablefilter directory:

your-page.html
 |— tablefilter

Development

This project requires node.js and Grunt to be installed:

  • install node.js v8.9.4 or higher
  • install Grunt from the command line using npm (comes with node.js):
npm install -g grunt-cli

Once Grunt is sorted out you can follow the instructions below. Start by installing any dependencies.

npm install

Use

npm run dev

command to launch a build / watch cycle and start the local sever on port 8080.

Use

npm run build

command to generate a production build.

The

npm run dist

command will create a production build, run the tests and finally generate the demos:

To run all the tests and generate the coverage report:

npm test

or to run specific test(s):

grunt test-only:test.html
grunt test-only:test.html,test-sort.html

to view the coverage report(s), open the index.html under the report/coverage folder or online.

Demos

Check out the online examples or generate the demos locally:

npm run build:demos

then run the local webserver:

npm start

then pick a demo from:

http://localhost:8080/demos/

Documentation

Find exhaustive documentation on the configuration options in the WIKI section.

Autogenerated documentation of the ES6 modules is available on the website: docs

If you previously used the HTML Table Filter Generator plugin, verify the configuration options you are using are still supported: Obsolete

Run this task to generate the documentation in the docs/docs directory:

npm run esdoc

Support

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].