'
DEMO SITE v1.7.15

Field Grouping NEW Bootstrap 4.5 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 
148 (3 items)
1148Test2611.84
2148KM172879105743
3148199993516.04
total111870.88
1888 (1 items)
41888BF68665858793.53
total58793.53
151 (2 items)
5151GB85221520314.44
6151IP56890658841.35
total79155.79
157 (2 items)
7157HI618861035152.12
8157NN71198863357.13
total98509.25
161 (2 items)
9161BR3523842434.25
10161BR47849450743.65
total53177.9
Search