javascript - Pass data to pagination plugin in jquery -
i using pagination plugin found on: http://flaviusmatis.github.io/simplepagination.js/
this code using in programme:
$(function() { $('#pager').pagination({ items:data.length, itemsonpage: 10, cssstyle: 'light-theme' }); }); the problem want 'data' object paginated. initializing empty table , filling after appropriately manipulating html by:
$('#tabbody').html(upd); just below tabbody pager placeholder. how tell plugin data break pages? there other plugin makes easier?
Comments
Post a Comment