DEMO SITE v1.7.31

Grouping Level 2NEW
1.7.29
Bootstrap 4.5 theme

Grouping Rows to the second level

HIDE CODE
<?php
    $xcrud = Xcrud::get_instance();	
	$xcrud->table('payments');
	$xcrud->unset_remove();
	$xcrud->column_hide('customerNumber');
	$xcrud->group_table_collapsed(true);
	$xcrud->group_by_columns('customerNumber,amount');//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

Add
#ChecknumberAmount
Actions
+ Customernumber: 151 (3 items)
+ Amount: 2.3456789034567896e97 (1 items)
1BF6866582.3456789034567896e97 View Edit
+ Amount: 20314.44 (1 items)
2GB85221520314.44 View Edit
+ Amount: 39964.63 (1 items)
3KI88457739964.63 View Edit
+ Customernumber: 157 (1 items)
+ Amount: 35152.12 (1 items)
4HI61886135152.12 View Edit
+ Customernumber: 161 (4 items)
+ Amount: 5500 (1 items)
5BR3523845500 View Edit
+ Amount: 50743.65 (1 items)
6BR47849450743.65 View Edit
+ Amount: 12692.19 (1 items)
7KG64412512692.19 View Edit
+ Amount: 38675.13 (1 items)
8NI90821438675.13 View Edit
+ Customernumber: 166 (2 items)
+ Amount: 38785.48 (1 items)
9BQ32761338785.48 View Edit
+ Amount: 44160.92 (1 items)
10DC97930744160.92 View Edit
showing_records 1 to 10 of 606
Search