ArtiGrid
Everything Deactivated
The unset() method allows you to disable specific features of the grid.
In this example, all main functionalities are turned off.
This effectively deactivates filters, search, add button, refresh, pagination, checkboxes, and action buttons, leaving a minimal table display.
<?php
$grid = new ArtiGrid();
$grid->table('employees')
->template('bootstrap5')
->perPage(10)
->unset('filter', false)
->unset('add', false)
->unset('search', false)
->unset('refresh', false)
->unset('pagination', false)
->unset('dropdownpage', false)
->unset('checkbox', false)
->unset('actions', false);
echo $grid->render();
?>
| employeeNumber | lastName | firstName | extension | officeCode | reportsTo | jobTitle | Actions |
|---|