Hi James,
The reported problem occurs due to the improperly renamed the worksheet in
SfSpreadSheet.
However, you can resolve the reported problem by properly renaming the sheet
programmatically in Spreadsheet like below mentioned code snippet,
|
if (workSheet == null)
{
workSheet =
spreadsheet.Workbook.Worksheets.Create(name);
}
else
{
//here rename the sheet programmatically in Spreadsheet.
spreadsheet.RenameSheet(workSheet.Name, name);
workSheet.ClearData();
}
|
We have provided support to rename the sheet
programmatically in Spreadsheet. Please refer to the below documentation for
your reference,
UG Link: https://help.syncfusion.com/wpf/spreadsheet/worksheet-management#rename-a-worksheet-programmatically
Please find the modified sample in the attachment and let us know if you have
any concerns in this.
Regards,
Vijayarasan S
Attachment:
ModifiedSample_7c08a161.zip