Skip to main content

Records-per-page

You can control how many records are displayed per page in your CRUD grid using the perPage() method. This is useful when you have large datasets and want to paginate the results for better performance and usability.

<?php

require 'ArtiGrid.php';

$grid = new ArtiGrid();
$grid->table('million')
->perPage(10) // Number of records to be displayed per page
->modal();
echo $grid->render();
?>