Hi,
I am trying to follow this example and make auto summary for one of my column, but it does not work
https://paramquery.com/pro/demos62/group_summary var groupModel = {
on: true,
merge: true,
dataIndx: ['inspectionName'],
showSummary: [true],
header: isEditMode,
collapsed: [true],
title: [
"{0} ({1})",
"{0} - {1}"
]
};
I added additional properties to that specific column
{
summary: { type: "sum" },
dataType: "float",
format: '$##,###.00'
}
If i remove summary: { type: "sum" } then I can see values (numbers) in that column, but with summary I get $0.00 for each row and summary Sum: $0.00. What I am doing wrong?
I also try following this example (custom summary) but again custom function agg.all was called for each row and for each group. And I expected to get called for each group and to provide me with array of data values that belongs to that group. If I use same agg.all function from the example I get 0 again
https://paramquery.com/pro/demos62/group_rows_custom_summaryThank you,
Best Regards