We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to sort the contents in pivot table

Hi Aspose team,

I need some clarifications regarding the pivot table sorting.Is that possible to sort a contents of pivot table programmatically using Aspose,awaiting for a positive reply.

cheers,

Lokesh

Hi,

I think you may use PivotField’s attributes e.g IsAutoSort, IsAscendSort and IsAutoSortField for your task.

See the document for your reference:
http://www.aspose.com/documentation/.net-components/aspose.cells-for-.net/setting-pivottables-appearance.html


Thank you.