Hi Syncfusion team,
I have a grid in batch mode that I customized to update automaticaly each edit when you change of cell or focus.
public async Task Saved(CellSaveArgs<Article> args)
{ await this._grid.EndEdit(); // End the editawait this._grid.SetRowData(args.Data.Id, args.Data); // To update the row grid.}
The problem is that, when I press the Enter or Tab key, it fires these errors:
crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
Unhandled exception rendering component: Event 1261 is already tracked
Error: Event 1261 is already tracked
at e.add (https://localhost:*****/_framework/blazor.webassembly.js:1:42463)
at e.setListener (https://localhost:*****/_framework/blazor.webassembly.js:1:40697)
at e.applyAttribute (https://localhost:*****/_framework/blazor.webassembly.js:1:36864)
at e.insertElement (https://localhost:*****/_framework/blazor.webassembly.js:1:35698)
at e.insertFrame (https://localhost:*****/_framework/blazor.webassembly.js:1:34569)
at e.applyEdits (https://localhost:*****/_framework/blazor.webassembly.js:1:32955)
at e.updateComponent (https://localhost:*****/_framework/blazor.webassembly.js:1:32271)
at Object.t.renderBatch (https://localhost:*****/_framework/blazor.webassembly.js:1:12134)
at Object.window.Blazor._internal.renderBatch (https://localhost:*****/_framework/blazor.webassembly.js:1:61913)
at Object.w [as invokeJSFromDotNet] (https://localhost:*****/_framework/blazor.webassembly.js:1:64435)
Microsoft.JSInterop.JSException: Event 1261 is already tracked
Error: Event 1261 is already tracked
at e.add (https://localhost:*****/_framework/blazor.webassembly.js:1:42463)
at e.setListener (https://localhost:*****/_framework/blazor.webassembly.js:1:40697)
at e.applyAttribute (https://localhost:*****/_framework/blazor.webassembly.js:1:36864)
at e.insertElement (https://localhost:*****/_framework/blazor.webassembly.js:1:35698)
at e.insertFrame (https://localhost:*****/_framework/blazor.webassembly.js:1:34569)
at e.applyEdits (https://localhost:*****/_framework/blazor.webassembly.js:1:32955)
at e.updateComponent (https://localhost:*****/_framework/blazor.webassembly.js:1:32271)
at Object.t.renderBatch (https://localhost:*****/_framework/blazor.webassembly.js:1:12134)
at Object.window.Blazor._internal.renderBatch (https://localhost:*****/_framework/blazor.webassembly.js:1:61913)
at Object.w [as invokeJSFromDotNet] (https://localhost:*****/_framework/blazor.webassembly.js:1:64435)
at Microsoft.JSInterop.WebAssembly.WebAssemblyJSRuntime.InvokeUnmarshalled[Int32,RenderBatch,Object,Object](String identifier, Int32 arg0, RenderBatch arg1, Object arg2, Int64 targetInstanceId)
at Microsoft.JSInterop.WebAssembly.WebAssemblyJSRuntime.InvokeUnmarshalled[Int32,RenderBatch,Object](String identifier, Int32 arg0, RenderBatch arg1)
at Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer.UpdateDisplayAsync(RenderBatch& batch)
at Microsoft.AspNetCore.Components.RenderTree.Renderer.ProcessRenderQueue()
It's possible to end the edit without firing these errors? Thanks