ArtiGrid
v1.5

Actions Position

You can easily change the position of the action buttons in the grid using the actionsPosition() method.

ArtiGrid currently supports two positions: left and right, allowing you to place the action column at the beginning or end of the table based on your layout preference.


<?php
    
    $grid = new ArtiGrid();
    $grid->table('products')
        ->template('bootstrap5')
        ->required(false)
        ->actionsPosition('left')
        ->validation_required('productCode')
        ->perPage(10)
        ->modal();
    echo $grid->render();
?>
id productCode productName productLine productScale productVendor productDescription quantityInStock buyPrice MSRP Actions