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: 162 (1 items)
+ Amount: 8 (1 items)
112-3456___8 View Edit
+ Customernumber: 161 (3 items)
+ Amount: 8 (1 items)
2BR4784948 View Edit
+ Amount: 12692.1955 (2 items)
3KG64412512692.1955 View Edit
4NI90821412692.1955 View Edit
+ Customernumber: 167 (1 items)
+ Amount: 12692.1955 (1 items)
5GN22884612692.1955 View Edit
+ Customernumber: 171 (2 items)
+ Amount: 18997.89 (1 items)
6GB87803818997.89 View Edit
+ Amount: 42783.81 (1 items)
7IL10442542783.81 View Edit
+ Customernumber: 172 (2 items)
+ Amount: 1960.8 (1 items)
883-2091___1960.8 View Edit
+ Amount: 33383.14 (1 items)
9EH20858933383.14 View Edit
+ Customernumber: 173 (1 items)
+ Amount: 11843.45 (1 items)
10GP54569811843.45 View Edit