Hello,
I wan't to call a methode within the setCellValue methode.
When I use the setCellValue functionality from the DataGrid:
HTML<dxi-column
dataField="bdeQtyBad"
caption="BadParts"
[width]="100"
[setCellValue]="setPPM_Bad"
>
which executes:
JavaScriptsetPPM_Bad(newData, value, currentRowData): void {
// do stuff here
this.checkAllNecessaryValuesThereBeforeKpiCalculation(currentRowData, newData ); // here I get the error
// (ERROR TypeError: this.checkAllNecessaryValuesThereBeforeKpiCalculation is not a function)
}
the function looks like this:
JavaScriptcheckAllNecessaryValuesThereBeforeKpiCalculation (currentRowData, newData): void {
//do stuffe here, (check if value already exists)
newData.otherColumnName = .......
}
Is here a possibility to call the second function within the setCellValue possibility?
Thanks in advance
Best
Jo