Answers for "add class to row laravel"

PHP
0

add class to row laravel

->setRowClass(function ($user) {
    return $user->id % 2 == 0 ? 'alert-success' : 'alert-warning';
})
Posted by: Guest on September-30-2021

Browse Popular Code Answers by Language