DEMO SITE v1.7.24

Column Grouping 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->column_hide('customerNumber');
	$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

#ChecknumberAmount 
Customernumber: 124 (5 items)
1ET6439683598.04 View Edit
2HI36647447142.7 View Edit
3HR8657855639.66 View Edit
4LF21729943369.3 View Edit
5NT14174845084.38 View Edit
total274834.08
Customernumber: 128 (4 items)
6DI92511810549.01 View Edit
7FA46548224101.81 View Edit
8FH66823033820.62 View Edit
9IP3839017466.32 View Edit
total75937.76
Customernumber: 129 (1 items)
10DM82614026248.78 View Edit
total26248.78
Add Export into CSV Print Search