Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ To add a new grand totals column, add an item to **fields** and check that the *
calculateSummaryValue(cell){
const isGrandTotalCell = !cell.parent("column");
if(isGrandTotalCell){
return e.value();
return cell.value();
}
return null;
},
Expand All @@ -208,7 +208,7 @@ To add a new grand totals column, add an item to **fields** and check that the *
calculateSummaryValue(cell){
const isGrandTotalCell = !cell.parent("column");
if(isGrandTotalCell){
return e.value();
return cell.value();
}
return null;
},
Expand All @@ -231,7 +231,7 @@ To add a new grand totals column, add an item to **fields** and check that the *
calculateSummaryValue(cell){
const isGrandTotalCell = !cell.parent("column");
if(isGrandTotalCell){
return e.value();
return cell.value();
}
return null;
},
Expand All @@ -254,7 +254,7 @@ To add a new grand totals column, add an item to **fields** and check that the *
calculateSummaryValue(cell){
const isGrandTotalCell = !cell.parent("column");
if(isGrandTotalCell){
return e.value();
return cell.value();
}
return null;
},
Expand All @@ -263,6 +263,12 @@ To add a new grand totals column, add an item to **fields** and check that the *

---

You can configure **calculateSummaryValue** to apply custom aggregation logic to total and grand total rows and columns. For more information, see the following example:

#include btn-open-github with {
href: "https://github.com/DevExpress-Examples/devextreme-pivotgrid-grand-total-and-total-detection"
}

#include uiwidgets-ref-functioncontext with {
value: "field's configuration"
}
Loading