Spreadsheet retains data from old spreadsheet after toggle

We are using 2 spreadsheet Viewers.

Once the Viewer is initialized its binded with relevant data.

So suppose we entered some manual data into the spreadsheet1 and then toggle to Spreadsheet 2,

then at that time the manual data entry gets reflected in Spreadsheet 2 as well.

We are able to resolve this if we use the Open method twice after toggle.

So Can you please suggest a root cause and solution for this issue.


1 Reply

VR Vasanth Ravi Syncfusion Team November 9, 2023 03:07 AM UTC

Hi Bavesh,


We have checked your reported issue by rendering two spreadsheets into the same viewer and has not noticed any issues as mentioned. Attached sample for reference.


Stackblitz Sample: https://stackblitz.com/edit/angular-u2wkxs-m46roh?file=src%2Fapp.component.ts


Before proceeding further share the below requesting details.


1.       In what way you have rendered two spreadsheets at your end. Share those details.

2.       What you mean by toggle to Spreadsheet 2. Whether you were using a button click functionality to switch between two spreadsheets by hiding the first and second one asynchronously.?

3.       Whether you have rendered the spreadsheet within the Tab.? If yes share those details.

4.       Whether you have bound the same instance to both spreadsheet component.? And is there any internal connection between the two spreadsheets.?

5.       Replicate the issue on the above attached sample for further validation.

6.       If possible, share the video demonstration of the issue faced. That would be helpful for us for better understanding.

7.       Share the spreadsheet rendering code snippets with us for validation.



Get back to us with the above requested details.


Loader.
Up arrow icon