Download Laravel-xCRUD Integration Full Code that includes this full demo


<?php

namespace App\Http\Controllers;

use 
Illuminate\Http\Request;

class 
xHighlightController extends Controller
{
    public function 
index()
    {
        
$xcrud Xcrud_get_instance();
        
$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('quantityOrdered');
        //$xcrud->modal('quantityOrdered', 'fa fa-user');
     
        
$xcrud->modal(array('quantityOrdered'=>'glyphicon glyphicon-search'));
        
$render $xcrud->render();
        return 
view('xcrud_simple', ['render' => $render]);
        
    }
}

Orderdetails

#OrdernumberProductcodeQuantityorderedPriceeachOrderlinenumberTotal 
1101011151003200 View Edit Remove
210101S18_2325101440703 View Edit Remove
310101S24_193732.5331463.9 View Edit Remove
410101S24_202244.3520 View Edit Remove
510102S18_134295.5520 View Edit Remove
610102S18_136743.1310 View Edit Remove
710103S10_1949214.3110 View Edit Remove
810103S10_4962119.6740 View Edit Remove
910103S12_1666121.6480 View Edit Remove
1010103S18_295761.84140 View Edit Remove
Search