Pivot Tablo Şeritlerini Devre Dışı Bırak

Aspose.Cells for Python Excel Kütüphanesi Kullanarak Pivot Tablosu Kurdelesini Devre Dışı Bırakma

Aşağıdaki kod, bir sayfadan pivot tablosuna erişerek enable_wizard değeri false olarak ayarlar ve bu özelliği gösterir. Örnek pivot tablo dosyasını bu bağlantıdan indirebilirsiniz.

from aspose.cells import Workbook
# For complete examples and data files, please go to https:# github.com/aspose-cells/Aspose.Cells-for-.NET
# Open the template file containing the pivot table
wb = Workbook("pivot_table_test.xlsx")
# Access the pivot table in the first sheet
pt = wb.worksheets[0].pivot_tables[0]
# Disable ribbon for this pivot table
pt.enable_wizard = False
# Save output file
wb.save("out.xlsx")