PivotTable. Incorrect 'Use Custom Lists when sorting' state. (*.xlsb)

Hi,


I created a simple document with Pivot Table in *.xlsx and *.xlsb format. It’s the same document converted from *.xlsx to *.xlsb by Excel, but Aspose.Cells returns different values for ‘CustomListSort’ field.

*.xlsx
CustomListSort = false
*.xlsb
CustomListSort = true
Workbook wb = new Workbook(fName);
foreach(Worksheet ws in wb.Worksheets)
{
foreach(PivotTable pt in ws.PivotTables)
{
try { pt.RefreshData(); }
catch { }
try { pt.CalculateData(); }
catch { }
try { pt.CalculateRange(); }
catch { }

// my inner printing method
printLine(“CustomListSort”, pt.CustomListSort.ToString(), SPACE2);
}
}

I use Excel 2010 and Aspose.Cells v7.3.5.1.

Regards,
Alex Shloma

Hi,


Thanks for providing us the template files and sample code.

After an initial test and using your code with your template XLSB file, I have managed to reproduce the issue as you have pointed out. I have logged a ticket with an id “CELLSNET-41338” for your issue. We will look into your issue soon.

Thank you.
Hi,

Please download and try our latest fix/version: Aspose.Cells for .NET v7.7.0.4

Your issue should be fixed in it.

Let us know your feedback.

Thanks,

The issues you have found earlier (filed as CELLSNET-41338) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.