gridx.modules.exporter.CSV
Object » _Module » gridx.modules.exporter.CSV
dojo.require("gridx.modules.exporter.CSV");
Defined in gridx/modules/exporter/CSV.js
This module provides the API to export grid contents to CSV format string
Method Summary
- afterHeader()
- afterRow()
- beforeHeader()
- beforeRow()
- getAPIPath()
- getResult()
- handleCell(context)
- handleHeaderCell(context)
- initialize(args)
- toCSV(args) returns dojo.Deferred Export the grid contents to CSV according to the given args. This method should be called through grid.exporter.toCSV();
Methods
Overrides _Module
Returns dojo.Deferred: A deferred object indicating when the export process is completed,
and then pass the exported CSV string to callbacks.
Export the grid contents to CSV according to the given args.
This method should be called through grid.exporter.toCSV();
Parameter | Type | Description |
---|---|---|
args | __CSVExportArgs | Optional. The args to configure the export result and the export process. |