With batch editing, I lose changes when I update the grid filter.

I have a grid with batch edit. One record is edited, changes not saved.

I then click on a filter and select one item from the filter:

I am given a warning about unsaved changes. However, the grid has already been filtered.







11 Replies

DH Dermot Heslin March 6, 2025 04:37 PM UTC

Grid with edit:

Image 1.png




DH Dermot Heslin replied to Dermot Heslin March 6, 2025 04:37 PM UTC

Filtering:

Image 2.png



DH Dermot Heslin replied to Dermot Heslin March 6, 2025 04:38 PM UTC

Warning with grid already filtered:

Image 3.png



DH Dermot Heslin March 6, 2025 04:39 PM UTC

Filtered grid after I click cancel (my edit is gone):

Image_4489_1741279145221



AR Aishwarya Rameshbabu Syncfusion Team March 8, 2025 06:00 PM UTC

Hi Dermot Heslin,


Greetings from Syncfusion support.


We have conformed the reported scenario as a bug from our end and logged it as “Unsaved Batch Changes Are Lost Upon Filtering in the Grid”. Thank you for taking the time to report this issue and helping us improve our product. At Syncfusion, we are committed to fixing all validated defects (subject to technical feasibility and Product Development Life Cycle ) and will include the defect fix in our upcoming patch release which will be rolled in the end of March, 2025.


You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through the below link,


Feedback: https://www.syncfusion.com/feedback/66057/unsaved-batch-changes-are-lost-upon-filtering-in-the-grid


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,

Aishwarya R



AR Aishwarya Rameshbabu Syncfusion Team March 26, 2025 09:30 AM UTC

Hi Dermot Heslin,


Due to the complexity of the issue, our team requires additional time to develop a comprehensive solution to maintain the stability and performance of our product. Consequently, we will address the reported problem regarding ‘Unsaved Batch Changes Are Lost Upon Filtering in the Grid ‘ and implement the fix in our upcoming patch release, scheduled for April 1st, 2025. We greatly appreciate your understanding and patience during this period.


Regards,

Aishwarya R



AR Aishwarya Rameshbabu Syncfusion Team April 3, 2025 05:13 AM UTC

Hi Dermot Heslin,


We are glad to announce that, we have included the fix for the issue “Unsaved Batch Changes Are Lost Upon Filtering in the Grid” in our 29.1.35 release. So please upgrade to our latest version of the Syncfusion package to resolve the reported issue.


Root Cause: The filtering action prevention mechanism did not function as intended, causing it to return the next function associated with the object's value, which led to the execution of subsequent code.


Solution: The issue has been resolved by implementing a method that prevents the filtering action by returning 'false'.


Feedback: https://www.syncfusion.com/feedback/66057/unsaved-batch-changes-are-lost-upon-filtering-in-the-grid


We thank you for your support and appreciate your patience in waiting for this release. Please get back to us if you need any further assistance.


Regards,

Aishwarya R



DH Dermot Heslin April 10, 2025 02:03 PM UTC

Hi there


I have noted that while behaviour has changed, it is still not working as expected. Please see my comment in the feedback: 



SI Santhosh Iruthayaraj Syncfusion Team April 11, 2025 06:08 AM UTC

Hi Dermot Heslin,


The live demonstrations on the Syncfusion website are updated periodically; however, they do not reflect the latest fixes introduced in the weekly patch releases. Therefore, we recommend upgrading your Syncfusion package to the version 29.1.35 or to the latest version to resolve the reported issue.


Please refer to the attached sample, which uses the updated version, along with a video demonstration that shows how filtering is prevented when the cancel button is clicked in the batch edit confirmation dialog.


Sample and video demonstration: Please find in the attachment.


Please get back to us if you need any other assistance.


Regards,

Santhosh I


Attachment: sampleanddemo_bda3c7a2.zip


DH Dermot Heslin April 11, 2025 12:53 PM UTC

Hi there


Thank you for your reply. I can see that it is working fine in the sample attached, but it is not working in my code. I am using Syncfusion.E2J.AspNet.Core, version 29.1.37. The sample you sent was using Syncfusion.EJ2.Javascript and Syncfusion.EJ2.MVC5 - could this be the issue?


Image_2125_1744375830038


Before filter:

Image_7499_1744375946751


By the time the warning box appears, the filter is already in place (now there are only 2 rows), and edit is lost:

Image_5546_1744375977741



DH Dermot Heslin April 11, 2025 12:55 PM UTC

I am realising that perhaps I initially used the wrong label on the thread - I see I posted under MVC. My issue is in AspNetCore.

Thank you

Dermot


Loader.
Up arrow icon