Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
640
Excel Export - How to Add Row Field Headers
posted

Our clients have been constantly configuring pivot grid layouts by dropping least three dimensions into the row fields drop zone (RowFieldsDropAreaControl).

Seeing it in the pivot grid is fine, because those row field indicators are on top, in other words, they know what each column represents in the row field.

However, in exporting to excel, only the row values show up and there's no header to indicate which row fields or dimensions the data represents. This gets a lot more confusing specially that one of the selected row fields is hierarchical in nature (date). When exported with selected nodes being expanded, it's really hard to know what fields they represent.

How can we make the selected row's fields show as headers in the exported excel spreadsheet?

Parents
  • 138253
    Offline posted

    Hello,

     

    Thank you for your post. I have been looking into it and I can suggest you see the sample in the Samples Browser under xamPivotGrid / Data / Export to Excel section, where it is shown how to export to Excel. Since there is no built in functionality for this and the Workbook is created manually, you can add whatever Cells you want to the sheet. In the sample you can see how to add or not the Row and Column headers.

     

    Hope this helps you.

Reply Children