DEMO SITE v1.7.14

Highlights Default theme

Highlight separate cells and full rows.

HIDE CODE
<?php
	$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'));
	//$xcrud->modal(array('quantityOrdered'=>'fa fa-user'));
    echo $xcrud->render();
?>

Orderdetails

#OrdernumberProductcodeQuantityorderedPriceeachOrderlinenumber 
110100S18_2248492
210100S18_440975.464
310100S24_396935.291
410101S18_2325108.124
510101S18_2795167.091
610101S24_193732.533
710101S24_202244.352
810102S18_134295.552
910102S18_136743.131
1010103S10_1949214.311
Add Export into CSV Print
Search