Use the following settings:
$lens->pageSize = 2; // rows per page $lens->columns = 2; $lens->showGrid = false; $lens->templateDetail = 'ex303.tpl';
This uses the same data as Example 300.