DEMO SITE v1.7.31

Grouping Level 2NEW
1.7.29
Default 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 Export into CSV Print
Search

#ChecknumberAmount
Actions
+ Customernumber: 163 (1 items)
+ Amount: 58 (1 items)
1KG6441258 View Edit
+ Customernumber: 161 (1 items)
+ Amount: 28 (1 items)
2NI90821428 View Edit
+ Customernumber: 167 (1 items)
+ Amount: 28 (1 items)
3GN228846128 View Edit
+ Customernumber: 171 (2 items)
+ Amount: 28 (2 items)
4GB878038hhh28 View Edit
5IL10442528 View Edit
+ Customernumber: 17277 (1 items)
+ Amount: 28 (1 items)
683-2091___28 View Edit
+ Customernumber: 172 (1 items)
+ Amount: 28 (1 items)
7EH20858928 View Edit
+ Customernumber: 173 (2 items)
+ Amount: 28 (1 items)
8GP54569828 View Edit
+ Amount: 20355.24 (1 items)
9IG46239720355.24 View Edit
+ Customernumber: 175 (1 items)
+ Amount: 24879.08 (1 items)
10IO44891324879.08 View Edit