Skip to main content

hide-column

You can hide specific columns in your CRUD table by using the columnHide method. This is useful when you want to keep certain data, like sensitive information, out of view while still keeping it in the database. Simply pass an array of column names that you want to hide.

<?php

require 'ArtiGrid.php';

$grid = new ArtiGrid();
$grid->table('million')
->columnHide(['password', 'token', 'created_at']) // List of columns to hide
->modal();
echo $grid->render();
?>