Please notice, I am able to reproduce the issue as you mentioned by using your template file and sample code. I found the issue as following:
Sheet1: Saved in excel with simple group rows/columns collapsed, then expand the group with Aspose.Cells. The sheets seems in a corrupted state, it shows the minus icon while still collapsed
I have logged a ticket with an id “CELLSNET-50224” for your issue. We will look into it soon.
Once we have an update on it, we will let you know here.
The issues you have found earlier (filed as CELLSNET-50038,CELLSNET-50065) have been fixed in this update. This message was posted using Bugs notification tool by simon.zhao
We evaluated your issue “CELLSNET-50224” further. We found this is not an issue of Aspose.Cells. The first visible cell is U37 in the template fie, so you can not see those grouped detail. Please set the first visible cell after showing grouped detail as the following codes:
e.g. Sample code:
The line provided works for our sample code but we have an other use case where we just load a sheet with collapsed groups and still have the issue, we are not collapsing / expanding groups at that time.
I don’t see how i can reproduce this case with a sample code
I am afraid, without simulation code and sample files, we cannot help you much. By the way, on a safer side, you may embed the line of code to your code if it makes any difference. worksheet.FirstVisibleRow = worksheet.FirstVisibleColumn = 0;
Please create a sample console demo application (runnable) using Aspose.Cells APIs only, zip the project and post us here to reproduce the issue on our end, we will check it soon. Also, attach the sample Excel files (input file and output file, etc.).
PS. please exclude Aspose.Cells.Dll from the zipped archive to minimize the size of the attachment.
Please notice, I am able to reproduce the issue as you mentioned by using sample file(s) and code. I found when doing Collapse and Expand multi level groups, there are some differences in the sheet’s XML in the output file generated by MS Excel and Aspose.Cells. I have logged a separate ticket with an id “CELLSNET-50341” for your issue. We will look into it soon.
Once we have an update on it, we will let you know.
The issues you have found earlier (filed as CELLSNET-50341) have been fixed in this update. This message was posted using Bugs notification tool by johnson.shi