https://github.com/patternslib/pat-sortable-table
Pattern to create sort- and filterable tables.
https://github.com/patternslib/pat-sortable-table
hacktoberfest javascript patternslib texteditor ui-components
Last synced: 11 months ago
JSON representation
Pattern to create sort- and filterable tables.
- Host: GitHub
- URL: https://github.com/patternslib/pat-sortable-table
- Owner: Patternslib
- Created: 2020-09-24T07:49:20.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-16T08:45:27.000Z (over 3 years ago)
- Last Synced: 2025-06-29T13:45:13.744Z (12 months ago)
- Topics: hacktoberfest, javascript, patternslib, texteditor, ui-components
- Language: HTML
- Homepage:
- Size: 908 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
Awesome Lists containing this project
README
pat-sortable-table
==================
## Documentation
Pattern to create sort- and filterable tables.
### Options reference
Property | Default Value | Values | Type | Description
---------|---------------|--------|------|------------
paging-type | numbers | numbers simple simple_numbers full full_numbers first_last_numbers | String | Type of batch/paging navigation menu.
page-length | 20 | Any number | Integer | Number of items per page.
page-length-menu | [10, 20, 50, 100] | | Array of integers | Entries for the pagingation length menu.
server-side | false | | boolean | Use server side processing in the table. See also `ajax`
ajax | "" | | string, object or function | Configuration for ajax calls. Can be a URL (string), properties for jQuery.ajax (object) or custom code to get data (function).
language-info | "Page _PAGE_ of _PAGES_" | | String | Text for pagination.
language-info-empty | "Showing 0 to 0 of 0 entries" | | String | Info text when filtering leads to no results.
language-info-filtered | "(filtered from _MAX_ total entries)" | | String | Info text when filtering.
language-length-menu | "Show _MENU_ entries per page." | | String | Text for pagination.
language-zero-records | "No results found." | | String | Text shown when filtering leads to no results.
language-search | "Search" | | String | Label for the search field.
language-search-placeholder | "Search term" | | String | Placeholder for the search field.