Fork me on GitHub

jQuery jPList plugin is deprecated. Please check pure JavaScript (ES6) jPList Library alternative instead.

Hidden Sort Control Settings

Hidden Sort Control

Control Settings:

Data Attribute Description Values Example
data-path jQuery path to the items jQuery path or "default" for the default/initial sorting data-path=".title"
data-path="default"
data-order ascending or descending sorting "asc" or "desc" data-order="asc"
data-order="desc"
data-type sort data type "text", "number" or "datetime" data-type="text"
data-default Default value on page load. This attribute should be the same in all panels. true or false data-default="true"
data-datetime-format datetime format (This attribute belongs to 'div') The following wilcards could be used: {year}, {month}, {day}, {hour}, {min}, {sec}. data-datetime-format="{month}/{day}/{year}"
data-ignore regular expression which allows remove characters before sorting (for example, spaces, dashes etc.) regular expression data-ignore="[^a-zA-Z0-9]+"

General Settings:

Data Attribute Description Values Example
data-control-type="default-sort" panel control type definition 'default-sort' data-control-type="default-sort"
data-control-name="name" panel control name string value data-control-name="sort"
data-control-action="sort" panel control action definition 'sort' data-control-action="sort"
data-control-storage="false" exclude control from storage (when cookies/localstorage is enabled) 'true' ot 'false' data-control-storage="false"
data-control-deep-link="false" exclude control from deep link (when deep linking is enabled) 'true' ot 'false' data-control-deep-link="false"