ArtiGrid
v1.6

Multiple Instances

ArtiGrid supports multiple instances on the same page, allowing you to render and manage different CRUD tables independently.

Each instance can have its own configuration, data source, and behavior, making it easy to work with multiple datasets within a single view.


<?php
    $grid = new ArtiGrid();
    $grid->table('payments')
        ->unset('filter', false)
        ->template('bootstrap5');
    echo $grid->render();


    $grid2 = new ArtiGrid();
    $grid2->table('employees')
        ->modal()
        ->template('bootstrap5');
    echo $grid2->render();
?>
paymentId customerNumber checkNumber paymentDate amount Actions
employeeNumber lastName firstName extension email officeCode reportsTo jobTitle Actions