DEMO SITE v1.7.32

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: 10364 (1 items)
1OM3149605002 View Edit
+ Customernumber: 103600 (1 items)
2OM31491605000 View Edit
+ Customernumber: 11310 (1 items)
3HQ550214190 View Edit
+ Customernumber: 11221 (1 items)
4HQ5502399 View Edit
+ Customernumber: 112 (1 items)
5HQ5502299 View Edit
+ Customernumber: 113 (1 items)
6GG3145545870 View Edit
+ Customernumber: 114 (3 items)
7MA7655282261 View Edit
8NP603857565 View Edit
9NR2755244894 View Edit
+ Customernumber: 119 (1 items)
10DB93370419501.82 View Edit
Showing 1 to 10 of 277
Search