Skip to content

Latest commit

 

History

History
154 lines (124 loc) · 9.16 KB

README.md

File metadata and controls

154 lines (124 loc) · 9.16 KB

jPList is a flexible jQuery plugin for sorting, pagination and filtering of any HTML structure (DIVs, UL/LI, tables, etc). Get started at jplist.com

GitHub version

###Common Features

  • Works with any content (tables, lists, div elements etc...)
  • Works with JavaScript templates like Handlebars, Mustache etc.
  • Supports XML + XSLT
  • Grid/list view demo page
  • Supports local storage and cookies
  • Has deep links support
  • Fully customizable styles
  • Works in all major browsers
  • Annotated source code
  • Solid documentation

Data Sources

Sorting

  • Ascending and descending sorting
  • Sort numbers, text, date and time
  • SELECT and UL/LI sort controls

###Pagination

  • Auto pagination control
  • Google style pagination
  • Items per page control

###Filter and Search

  • Any number of textbox filters
  • Any number of dropdown filters
  • Filter by jQuery path or by text content
  • Checkbox and radio button filters
  • Button filter controls
  • Range filter controls

###Other Controls

  • Reset button Control
  • Back button Control
  • Counter Controls
  • jQuery UI range slider filter
  • jQuery UI date picker range filter

##jPList CDN jPList CDN is provided by cdnjs:

<script src="//cdnjs.cloudflare.com/ajax/libs/jplist/5.1.35/jplist.min.js"></script>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/jplist/5.1.35/jplist.min.css" />

NodeJS

Sample project with NodeJS, Express and MySQL database can fe found here. The data is in JSON format, and it's rendered on the client by Handlebars templates. Any other javascript template library can be used instead of Handlebars, for example Mustache templates, Underscore templates etc.

NPM package

npm install jplist

##Examples

###Layout Examples

CMS

Data Sources

###Actions Examples

###Toggle Filters by jQuery Path

###Toggle Filters by Text

  • Checkbox Text Filter - filter by checkboxes text values. OR logic inside group, AND logic between different groups
  • Button Text Filter - filter by text using any elements like SPAN, INPUT etc.
  • Button Text Filter Group - filter by text using any elements like SPAN, INPUT etc. OR logic inside group, AND logic between different groups

###jPList with jQuery UI

###DateTime Examples

###Other Examples

###Browser Compatibility

  • Internet Explorer 8+
  • Firefox
  • Chrome
  • Safari
  • Opera

###jQuery Compatibility

  • Works with jQuery from version 1.7
  • Works with jQuery 2.x versions

##License

##Links