Using SmartGWT 2.3 Power edition:
This generates an RPC request like this:
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?
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);
Code:
data: { appID:"isc_builtin", className:"builtin", methodName:"downloadClientExport", arguments:[ [ { ... }, { ... } ], "csv", "Content_20100819_022440.csv", "download" ], is_ISC_RPC_DMI:true }
Comment