paginate module demo

ExtJS AJAX demo

Items on page 1:

page.pager('~10~', ajax_id="pagearea", framework="extjs"):
1 2 3 4 5 6 7 8 9 10 11 .. 50

Hint: disable Javascript in your browser and you should see that the pager is working even then (graceful degradation). It won't load only the paging area through AJAX then but rather refresh the whole page.

The 'paginate' module was written by Christoph Haas and is also available on PyPi.