Highlights
Highlight separate cells and full rows.
public function highlights () { $xcrud = get_xcrud(); $xcrud->table('orderdetails'); $xcrud->highlight('quantityOrdered', '<', 25, 'red'); $xcrud->highlight('quantityOrdered', '>=', 25, 'yellow'); $xcrud->highlight('quantityOrdered', '>', 40, '#8DED79'); $xcrud->highlight_row('quantityOrdered', '>=', 50, '#8DED79'); $xcrud->highlight('priceEach', '>', 100, '#9ADAFF'); $xcrud->modal(array('quantityOrdered'=>'glyphicon glyphicon-search')); $data['content'] = $xcrud->render(); return view('demos', $data); }