Announcement

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

    Issue with width of Excel Header Cell after upgrading to SmartGWT 3.1

    Hi,

    After upgrading to Smartgwt 3.1, we are observing the partial display of values in Excel Header cells.
    This is forcing the user to go to each and every cell and resize the cell widths to see entire content of the header cell.
    I feel, header cell size is being caluclated based on the size of content in the data cell.

    Same code works fine with Smartgwt 2.5 version. Could you check?

    Export to Excel :

    Export Format -- OOXML("ooxml") -- ExportFormat.OOXML

    Smart GWT Client Version :
    SmartClient Version: v8.3p_2013-01-26/Pro Deployment (built 2013-01-26)

    Browser : Google Chrome


    Client Side Code :



    DSRequest dsRequestProperties = new DSRequest();
    dsRequestProperties.setOperationType(DSOperationType.FETCH);
    dsRequestProperties.setOperationId("customExport");
    dsRequestProperties.setExportAs((ExportFormat) EnumUtil.getEnum(ExportFormat.values(), exportAs));
    dsRequestProperties.setExportDisplay(ExportDisplay.DOWNLOAD);
    if (exportAs.equals("ooxml")) {
    dsRequestProperties.setExportFilename("PricingReview.xlsx");
    } else {
    dsRequestProperties.setExportFilename("PricingReview." + exportAs);
    }
    recordsList.exportData(dsRequestProperties);

    #2
    Issue got resolved after using the latest smartclient and smartgwtpro version.

    Comment

    Working...
    X