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

#OrdernumberProductcodeQuantityorderedPriceeachOrderlinenumber 
110100S18_440975.464 View Edit Remove
210101S18_2325108.124 View Edit Remove
310101S18_2795167.091 View Edit Remove
410101S24_193732.533 View Edit Remove
510101S24_202244.352 View Edit Remove
610102S18_134295.552 View Edit Remove
710102S18_136743.131 View Edit Remove
810103S10_1949214.311 View Edit Remove
910103S10_4962119.674 View Edit Remove
1010103S12_1666121.648 View Edit Remove
Search