3.1.0 • Published 2 years ago

@patternslib/pat-sortable-table v3.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

pat-sortable-table

Documentation

Pattern to create sort- and filterable tables.

Options reference

PropertyDefault ValueValuesTypeDescription
paging-typenumbersnumbers simple simple_numbers full full_numbers first_last_numbersStringType of batch/paging navigation menu.
page-length20Any numberIntegerNumber of items per page.
page-length-menu10, 20, 50, 100Array of integersEntries for the pagingation length menu.
server-sidefalsebooleanUse server side processing in the table. See also ajax
ajax""string, object or functionConfiguration 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"StringText for pagination.
language-info-empty"Showing 0 to 0 of 0 entries"StringInfo text when filtering leads to no results.
language-info-filtered"(filtered from MAX total entries)"StringInfo text when filtering.
language-length-menu"Show MENU entries per page."StringText for pagination.
language-zero-records"No results found."StringText shown when filtering leads to no results.
language-search"Search"StringLabel for the search field.
language-search-placeholder"Search term"StringPlaceholder for the search field.
3.1.0

2 years ago

3.0.0-alpha.0

2 years ago

3.0.0

2 years ago

2.0.0

2 years ago

1.1.0

3 years ago

1.0.0

3 years ago