Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

add class to row laravel

->setRowClass(function ($user) {
    return $user->id % 2 == 0 ? 'alert-success' : 'alert-warning';
})
Source by yajrabox.com #
 
PREVIOUS NEXT
Tagged: #add #class #row #laravel
ADD COMMENT
Topic
Name
2+5 =