SfChart - Cancel Edit or Stop the edit of a particular column
How do I cancel the edit of a particular column - in this case I'm using a the Column Type.
I have tried:
OnDataEdit > obj.Cancel = true; return;
This does nothing. User can still edit the item and the OnDataEditComplete still fires.
I then try
OnDataEditComplete > obj.Cancel = true; return; Again does nothing the user can edit the column
Thanks in advance!
Hi Lee,
Greetings from Syncfusion.
We have considered your reported scenario as bug and logged a defect report for the issue “Single point data edit does not stop upon canceling in the event”. This fix will be available in our weekly patch release which is scheduled to be rolled on 26th March 2025. We appreciate your patience until then. You can keep track of the bug from the below feedback link.
Feedback Link : https://www.syncfusion.com/feedback/66010/single-point-data-edit-does-not-stop-upon-canceling-in-the-event
If you have any more specification/precise replication procedure or a scenario to be tested, you can add it as a comment in the portal.
Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.”
Regards,
Durga Gopalakrishnan.
Lee,
Most welcome. We will resolve the reported issue as per mentioned timeline and let you know once patch release is rolled out. We appreciate your patience until then.
Lee,
We are glad to announce that our v29.1.35 patch release is rolled out; we have added the fix for reported issue. You can use the latest Syncfusion.Blazor.Charts NuGet package.
Root Cause:
The chart did not support preventing data editing through the event argument's cancel property.
Fix:
Added support to prevent data editing through the OnDataEdit event argument property Cancel when set to true.
NuGet Package : https://www.nuget.org/packages/Syncfusion.Blazor.Charts/
Sample : https://blazorplayground.syncfusion.com/hDhytzDWoCrLjLpP
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.
Thanks Durga, that seems to have fixed it.
Lee,
Most welcome. Please get back to us if you need any further assistance. We are always happy in assisting you.
- 6 Replies
- 2 Participants
-
LS Lee Stevens
- Mar 5, 2025 09:15 AM UTC
- Apr 3, 2025 08:04 AM UTC