Coloring Row or Table Row Color is a feature that you can use to give color to the rows in the table and the module can be set to certain conditions.

Available Key


This key is used to write the conditions that you want. You can use the alias field by:

"condition"=>"[id] == 1"
"condition"=>"[status] == 'active'"
colorThis key is used to give color, use the color on the class Bootstrap. Example: primary, success, warning, info, danger


$this->table_row_color[] = ["condition"=>"[status] == 'active'","color"=>"success"];
$this->table_row_color[] = ["condition"=>"[status] == 'pending'","color"=>"warning"];