DEMO SITE v1.7.31

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: 157 (1 items)
1tguthutyu5675675500 View Edit
total5500
- Customernumber: 161 (4 items)
2BR3523845500 View Edit
3BR47849450743.65 View Edit
4KG64412512692.19 View Edit
5NI90821438675.13 View Edit
total107610.97
- Customernumber: 167 (1 items)
6GN22884685024.46 View Edit
total85024.46
- Customernumber: 171 (2 items)
7GB87803818997.89 View Edit
8IL10442542783.81 View Edit
total61781.7
- Customernumber: 172 (2 items)
9AD8320911960.8 View Edit
10CE5175151209.58 View Edit
total53170.38
Add Export into CSV Print Search