Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    CubeGrid export to CSV not exporting all the top Facet rows

    Hello,

    I have a cube grid with multiple facet header rows on the top. These are not being exported into the .CSV. Do you know how to enable it to export these headings along with the values as well?

    The export code is simply:

    Code:
    exportButton.addClickHandler(new ClickHandler() {
    
                @Override
                public void onClick(ClickEvent event) {
                    DSRequest dsRequestProperties = new DSRequest();
                    dsRequestProperties.setExportAs(ExportFormat.CSV);
                    dsRequestProperties.setExportDisplay(ExportDisplay.DOWNLOAD);
                    getTkrCubeGrid().exportClientData(dsRequestProperties);
                }
    
            });

    Thank you.

    See screenshot of the issue (please ignore blacked-out areas):

    Click image for larger version  Name:	export_screenshot.png Views:	0 Size:	63.9 KB ID:	261246

    #2
    As explained in the docs for cubeGrid.exportClientData(), all column facet value titles get collapsed into a single row of column headers. There would be nowhere to put the facet labels (what you're pointing at) since there is only one row of column headers.

    Comment


      #3
      Alright, thanks. I actually noticed that myself after creating this forum post. I guess that is sufficient for us.

      Comment

      Working...
      X