Skip to main content

Load-template

You can choose which Bootstrap version the CRUD will use by setting the template method. ArtiGrid supports Bootstrap 4 and Bootstrap 5, allowing your tables and modals to match your site's styling.

<?php
$grid = new ArtiGrid();
$grid->table('orders')
->template('bootstrap5') // load bootstrap 5 or bootstrap 4
->modal();
echo $grid->render();
?>