Hi, Please I need some help on how to display a table grouped by status. Status is a string, so I have a field called row_number to be able to display the status grouped and sorted in the order that I want. It is also showing the totals top and bottom and repeating the status number and name. I can't figure out how to do this, so for now I created one column result called 'statusNandName to show, but this would list 1-Lead 13-No go – Non Refundable Deposit Received 2-Proposal instead of showing 1, 2, 13. I hope I explained this properly. row_number is the number that defines the order of the status and name is the column that defines the status name.
Here is the code: "grouping" => array(
"statusNandName" => array(
"calculate" => array(
"{sumComm}" => array("sum", "comm"),
"{sumEst}" => array("sum", "estimated_sale"),
"{sumAgent}" => array("sum", "agent"),
"{sumClosingCommAdj}" => array("sum", "ClosingCommAdj"),
"{sumEarnedComm}" => array("sum", "EarnedComm"),
),
"sorting"=>array(
"row_number"=>"desc",
"startDate"=>"asc"
),
"top" => "<b>{statusNandName}</b>",
"bottom" => "<td><b>Total {statusNandName}</b></td>
thank you very much!