Quantcast
Channel: Open XML Format SDK forum
Viewing all articles
Browse latest Browse all 1288

WorksheetPart - Need an example of how to delete the "(blank)" placeholder in a pivot table after populating using C# DocumentFormat.OpenXml.Spreadsheet library

$
0
0

Pivot Table (blank)

I am using an excel file as a SpreadsheetStyle template for an Excel file that contains a pivot table.

I am simply using DocumentFormat.OpenXml.Extensions.WorksheetWriter C# object instance to paste data into the worksheet.  The problem I am having is the "(blank)" pivot table placeholder is still in the file. 

I can seem to find an example of how to delete this row. I am assuming I would need to remove the row from the source worksheet tab and then refresh but I have only seen examples on how to add rows, not delete specific rows.

Is there an option in the pivot table that I can turn on that I can turn on that gets rid of this blank row in the template file eliminating the need to delete it?

 


http://www.net4geeks.com Who said I was a geek?


Viewing all articles
Browse latest Browse all 1288

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>