Announcement

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

    I want to export grid and Chart in excel file. Kindly explain the steps Please

    Is it possible if I can Export Grid data and Chart in Microsoft excel and .doc file . If Yes Please explain the steps. I using smart gwt pro editon version 5.0P If required we will upgrade the version Thanks.

    #2
    It's not currently possible to do this directly. Options are:

    1. export a ListGrid and FacetChart together in a .pdf (via RPCManager.exportContent())

    2. export ListGrid data to an Excel spreadsheet (via ListGrid.exportData()), and also export a FacetChart as an image (see Chart Image Export). Then, depending on your requirements, you might simply make both the Excel sheet and chart available separately, or you could use POI APIs to add the chart image to the spreadsheet in some way (see server-side API dsResponse.getExportObject() - this gives you the ability to modify the generated spreadsheet via Apache POI APIs).

    Comment

    Working...
    X