Sometimes, we need to deal with so much data that presenting them at once to the user is not an option. The reasons are as follows:
This is why we paginate result sets, to make the user's life easier.
In this section, we will see how to paginate a page using another built-in feature from Lift.
We will use the project from the previous recipe. You can duplicate it or modify the same project.
Carry out the following steps to paginate result sets:
Contactssnippet, add the following
import net.liftweb.http.PaginatorSnippet ...