Skip to content

JDataPaging is a simple plugin to manage pagination, it is suitable for any HTML element (div, span, a, img, table, etc, etc), manages both client and server side work

License

Notifications You must be signed in to change notification settings

mssalvo/JDataPaging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JDataPaging

JDataPaging is a simple plugin for managing paging composed of complex HTML elements that work on the client and server side

Paging system

The pagin that adapts to the structure of your web page, create your own custom pagin html structure, and JDataPaging will adapt to it

Getting Started

  1. Include JDataPaging on your page before the closing tag
<script src="/path/dist/core/1.1.0/jdata-paging.min.js"></script>
  1. Include JDataPagingSupport if you are using a javascript / json data object
<script src="/path/dist/support/1.1.0/jdata-paging-support.min.js"></script>

Example Istance JDataPaging v.1.1.0

       JDataPaging.paging('myname',{
          box:'div.list-group',  
          row:'a.list-group-item',  
          comboPages:'select.custom-select',   
          pages:[2,3,5,7],  
          labelPageCurrent:'li.current',  
          labelPageTotal:'li.total',   
          btnNext:'a.next',  
          btnPrevious:'a.previous' 
       })

Recover the instance

JDataPaging.get.myname

License

JDataPaging is available under the MIT license. See the LICENSE for more info.

About

JDataPaging is a simple plugin to manage pagination, it is suitable for any HTML element (div, span, a, img, table, etc, etc), manages both client and server side work

Resources

License

Stars

Watchers

Forks

Packages

No packages published