GetBatchChangesAsync is empty if ShowConfirmDialog = false

Screenshot_26.png

var changes = await Grid.GetBatchChangesAsync();

  • changes.AddedRecords
  • changes.ChangedRecords
  • changes.DeletedRecords

If ShowConfirmDialog is false, GetBatchChangesAsync returns no data, all list count are zero.

If I set it back to true or remove the line, the method works again.

I tried adding and removing it several times with no other code changes, the issue really occurs.

1 Reply

MS Monisha Saravanan Syncfusion Team April 21, 2022 01:34 PM UTC

Hi Dacara,


Greetings from Syncfusion support.


Query: “If ShowConfirmDialog is false, GetBatchChangesAsync returns no data, all list count are zero.”


We have checked your query and we could not able to reproduce the reported issue at our end. GetBatchChangesAsync method returns records when  ShowConfirmDialog is set as false. Kindly refer the below screen snip and sample for your reference.




Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/BlazorApp1-117023752.zip


Also upgrade to our latest version and check whether the reported issue reproduced at your end. If so kindly get back to us with issue reproduceable sample or try to reproduce the issue on the above sample.


Regards,

Monisha


Loader.
Up arrow icon