BoxLang 🚀 A New JVM Dynamic Language Learn More...

ColdBox Paginator

v1.7.0 Modules

ColdBox pagination made easy!

With this module you can paginate any recordset. The module is primarly developed to work with qb but it can be used to paginate any query or recordset.

Installation

To install simply use CommandBox

box install cbox-paginator

Usage

Usage it's really simple:

	// handler Main.cfc
	query = wirebox.getInstance('QueryBuilder@qb');

	q = query.from('users').paginate(5);

To loop over record:

	rc.users = q.toStruct().data;

To show pagination:

	rc.pag = q.render();

$ box install cbox-paginator

No collaborators yet.
 
  • {{ getFullDate("2018-07-05T13:10:49Z") }}
  • {{ getFullDate("2018-07-08T12:48:41Z") }}
  • 2,335
  • 33