DEMO SITE v1.7.31

Grouping +/-NEW
1.7.29
Bootstrap 5 theme

You can collapse or expand grouped rows

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');//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: 161 (3 items)
1BR478494ee99 View Edit
2KG64412558 View Edit
3NI90821428 View Edit
+ Customernumber: 167 (1 items)
4GN22884628 View Edit
+ Customernumber: 171 (2 items)
5GB87803828 View Edit
6IL10442528 View Edit
+ Customernumber: 172 (2 items)
783-2091___28 View Edit
8EH20858928 View Edit
+ Customernumber: 173 (2 items)
9GP54569828 View Edit
10IG46239720355.24 View Edit
showing_records 1 to 10 of 676
Search