hi , i am adding ColumnSummary plugin to my grid , but i still have always 0 as value , also the sum is maked only when i make a cell change value.
this is my config :
this.laGrille = new Handsontable(grilleContainer, {
stretchH: "all",
autoColumnSize: true,
rowHeaders: true,
manualColumnResize: true,
autoRowSize: false,
columnSorting: true,
licenseKey: "non-commercial-and-evaluation",
startRows: 1,
minRows: 1,
fixedRowsTop: 1,
filters: true,
dropdownMenu: true,
autoWrapRow: true,
autoWrapCol: true,
columns: this.definitionOfColumns(),
columnSummary: \[
{
sourceColumn: 6,
type: "sum",
destinationRow: 0,
destinationColumn: 6,
reversedRowCoords: true,
// force this column summary to treat non-numeric values as numeric values
forceNumeric: true,
},
{
sourceColumn: 8,
type: "sum",
destinationRow: 0,
destinationColumn: 8,
reversedRowCoords: true,
// force this column summary to treat non-numeric values as numeric values
forceNumeric: true,
},
\], … }