The Syncfusion® native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
RRRajapandi Ravi Syncfusion Team April 16, 2020 01:39 PM UTC
Hi ,
From checking your query, we understand you want to update the sum column value while changing the value of the other column. Based on your query we have prepared a sample and achieved your requirement by using change event of NumericTextBox. Please refer the below code example for more information.
const actionComplete = args => {
if (args.requestType === "beginEdit") {
var col1 = args.form[1].ej2_instances[0];//Numerictextbox instance
var col2 = args.form[3].ej2_instances[0];
var col3 = args.form[5].ej2_instances[0];
col1.change = (e, args) => {
col3.element.value = +(col1.element.value) + +(col2.element.value);//update the values to the sum column
}
col2.change = e => {
val2 = e.value;
col3.element.value = +(col1.element.value) + +(col2.element.value);//update the values to the sum column