Announcement

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

    ListGrid.exportClientDate ignores the specified export delimiter

    Using SmartGWT 2.3 Power edition:

    Code:
    ListGrid listGrid = new ListGrid();
    ...
    
    DSRequest dsRequestProperties = new DSRequest();
    dsRequestProperties.setExportAs(ExportFormat.CSV);		
    dsRequestProperties.setExportDisplay(ExportDisplay.DOWNLOAD);
    dsRequestProperties.setExportFilename((String)fileNameItem.getValue());
    dsRequestProperties.setExportDelimiter(";");
    
    listGrid.exportClientData(dsRequestProperties);
    This generates an RPC request like this:

    Code:
    data: {
        appID:"isc_builtin",
        className:"builtin",
        methodName:"downloadClientExport",
        arguments:[
            [
                {
                   ...
                },
                {
                   ...
                }
            ],
            "csv",
            "Content_20100819_022440.csv",
            "download"
        ],
        is_ISC_RPC_DMI:true
    }
    The export format, filename and display values are encoded in the request but the export delimiter is not. It obviously isn't used to generate the file either. Am I doing something wrong or is this a bug?

    #2
    I have exactly the same problem, it does not take the delimiter into account.
    also using smartgwt 2.3

    Comment


      #3
      Are you two trying to make it look like this is affecting lots of customers? You know we can see company names, right? :)

      We're looking into it.

      Comment


        #4
        It was worth a try :-)

        Comment


          #5
          This was reported as fixed on the Google Code project for SmartGWT : issue 501 (http://code.google.com/p/smartgwt/issues/detail?id=51)

          The problem is still there though... (Tested with the nightly of Dec 14th.)

          Comment

          Working...
          X