Skip to content

Bind events on Bootstrap pagination and you can custom getItemsAjax

License

Notifications You must be signed in to change notification settings

xdimh/Bootstrap-Pagination

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bootstrap-Pagination

#####Bind events on Bootstrap pagination and you can custom getItemsAjax

######How to use it.

$('.pagination').BTPagination(totalRecords,opts);

######Parameters:

  • totalRecords --- The number of records

  • opts --- A object which has properties as follows:

  1. items_per_page : 10 (default)
  1. num_display_pageno : 10 (default)
  2. prev_text : 'Prev' (default)
  3. next_text : 'Next' (default)
  4. getItemsAjax : function() {return false;}

you can provide your own value of above properties.

About

Bind events on Bootstrap pagination and you can custom getItemsAjax

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published