add class to row laravel

Solutions on MaxInterview for add class to row laravel by the best coders in the world

showing results for - "add class to row laravel"
Manuel
10 Oct 2016
1->setRowClass(function ($user) {
2    return $user->id % 2 == 0 ? 'alert-success' : 'alert-warning';
3})
similar questions
queries leading to this page
add class to row laravel