Set the range of the list. If from and to are set on a page-by-page basis, pagination can be used.
from
to
void setRange(int from, int to) { _from = from; _to = to; }