<?php
require 'ArtiGrid.php'; // path to the Artigrid file
$grid = new ArtiGrid();
$grid->table('payments')
->template('bootstrap5')
->fieldCss('customerNumber', ['customerNumber', 'demo'])
->export(['excel','pdf','csv']) // Export buttons to Excel, PDF, and CSV
->formFields(['customerNumber','checkNumber','paymentDate', 'amount']) // show certain fields in the form
->modal();
echo $grid->render();
?>