-
Notifications
You must be signed in to change notification settings - Fork 17
Features
Roberto Prevato edited this page May 14, 2017
·
9 revisions
Following is a list of features offered by KingTable library.
- Automatic generation of tables, analyzing the shape of input objects
- Pagination bar, for both client side pagination and server side pagination
- Collection of parameters to perform AJAX requests and handling of responses
- Automatic handling of HTTP GET or HTTP POST requests (configurable)
- Caching of filters in storage object for each page, by URL
- When user changes filters, they are automatically cached and restored upon page refresh or when navigating back to the same page
- Caching of results (LRU caching mechanism), to avoid AJAX requests when possible, by filters and by URL
- For tables that can be paginated on the client side: client side text search feature, including sorting by occurrences and relevance of matches, handling of diacritics supporting highlighting
- Loading view; error view (when an error occurs while fetching data)
- Rich HTML table builder (with automatic event handlers, suitable for web applications and Electron desktop applications)
- Plain text table builder (suitable for console or plain text output, for example for Node.js console applications)
- Plain HTML table builder (no event handlers, for example suitable for email bodies and export to HTML)
- Table view and gallery view, built-in for the rich HTML builder
- Possibility to implement custom table builders (for example, table builders using React, or Knockout.js, while reusing most of the business logic)
- Possibility to implement custom views for built-in rich HTML builder
- Logic for sorting, both by single property or by multiple properties
- Support for custom event handlers, which receive automatically clicked item, if applicable
- Client side export in CSV, JSON, XML, XLSX
- Possibility to hide/show columns
- Client side localization of tables
- Strategies to format dates, numbers and custom properties
- Allows to define functions to fetch table related data (for example, dictionaries to display filters views) and to cache this result automatically
- Themes