tablesorter - jQuery tablesorterPager displaying record information summary -


does know how have tablesorter pager plugin display following infromation:

displaying 1 10 of 57 records

that's example cant figure out can first 2 numbers based on how many records displaying per page.. figured out how total # of records. not sure if there's way can other 2 numbers based off of or not.. appreciated!

i've added fork of tablesorter plugin on github improvements , missing documents. after seeing request, i've updated pager plugin allow create custom output. output requested, use code (demo):

$("table")   // initialize tablesorter   .tablesorter()    // initialize pager plugin   .tablesorterpager({     // target pager markup     container: $("#pager"),     // output default: '{page}/{totalpages}'     output: 'displaying {startrow} {endrow} of {totalrows} records'   }); 

also, original pager html markup displayed inside input. can use element. see demo page full example.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -