DEMO SITE v1.7.15

Field Grouping NEW Minimal theme

simple column grouping,summation of a column value, inline editing

HIDE CODE
<?php
    $xcrud = Xcrud::get_instance();	
	$xcrud->table('payments');
	$xcrud->unset_remove();
	$xcrud->group_by_columns('customerNumber');//Allows only one field
	$xcrud->group_sum_columns('amount');//Allows only one field
	$xcrud->columns('customerNumber,checkNumber,amount');
	$xcrud->fields_inline('customerNumber,checkNumber,paymentDate,amount');
    echo $xcrud->render();
?>

Payments

#CustomernumberChecknumberAmount 
202202 (1 items)
1202202HI358554k777.77
total777.77
204 (1 items)
2204IS1500054424.4
total4424.4
205 (2 items)
3205GL7564803879.96
4205NM73963839580.6
total43460.56
209 (1 items)
5209ED5205294632.31
total4632.31
211 (1 items)
6211BJ53523045480.79
total45480.79
216 (2 items)
7216BG4075673101.4
8216ML78081424945.21
total28046.61
2169 (1 items)
92169MM34208640473.86
total40473.86
219 (1 items)
10219BN178703452.75
total3452.75
Add Export into CSV Print Search