Saving issue with two grids having different dialog templates

Hi,

I have two different grids in the same page with no datasource (columns are manually configured). Each has it's own dialog edit template.
After I add a new row to the first grid and then add a new row to the second one and hit save it doubles the rows.
I've checked the rows in the second grid and apparently it also saves the row from the first grid.

Thanks,
Andrei

4 Replies 1 reply marked as answer

AN Andrei August 4, 2020 09:08 AM UTC

Problem appears when no datasource is assigned to the grids. I've fixed it adding some empty datasources.

Marked as answer

SK Sujith Kumar Rajkumar Syncfusion Team August 5, 2020 12:03 PM UTC

Hi Andrei, 

Greetings from Syncfusion support. 

We were able to reproduce the reported problem from our end and we are currently working on it. We will provide the further details for this on August 7th 2020. Until then your patience is appreciated. 

Let us know if you have any concerns. 

Regards, 
Sujith R  



AN Andrei August 5, 2020 12:50 PM UTC

Thank you, but like I've said above, problem is fixed if you assign an empty array to each grid's dataSource.
To be honest, for me it's not an issue anymore, because assigning those empty arrays helped not make additional call to the getCurrentViewRecords function.


SK Sujith Kumar Rajkumar Syncfusion Team August 6, 2020 06:03 AM UTC

Hi Andrei, 

Thanks for the update. 

We are glad to hear that your query has been resolved. Please get back to us if you require any further assistance. 

Regards, 
Sujith R 


Loader.
Up arrow icon