DEMO SITE v1.7.28

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: 145 (2 items)
+ Amount: 1 (1 items)
1CN3285451 View Edit
+ Amount: 20564.86 (1 items)
2HR18268820564.86 View Edit
+ Customernumber: 146 (2 items)
+ Amount: 40978.53 (1 items)
3FP54981740978.53 View Edit
+ Amount: 49614.72 (1 items)
4FU79341049614.72 View Edit
+ Customernumber: 298 (1 items)
+ Amount: 30000 (1 items)
5LJ16063530000 View Edit
+ Customernumber: 148 (3 items)
+ Amount: 44380.15 (1 items)
6BI50703044380.15 View Edit
+ Amount: 2611.84 (1 items)
7DD6352822611.84 View Edit
+ Amount: 3516.04 (1 items)
8ME4979703516.04 View Edit
+ Customernumber: 151 (2 items)
+ Amount: 58793.53 (1 items)
9BF68665858793.53 View Edit
+ Amount: 20314.44 (1 items)
10GB85221520314.44 View Edit
?>
 
slot thailand
slot thailand slot gacor
slot gacor