Packagecom.flexicious.export.exporters
Classpublic class CsvExporter
InheritanceCsvExporter Inheritance com.flexicious.export.exporters.Exporter

Exports the grid in CSV format



Public Properties
 PropertyDefined By
  contentType : String
[override] [read-only] Returns the content type so MS Excel launches when the exporter is run.
CsvExporter
  extension : String
[override] [read-only] Extension of the download file.
CsvExporter
  name : String
[override] [read-only] Name of the exporter
CsvExporter
Public Methods
 MethodDefined By
  
CsvExporter
  
writeFooter(grid:IExtendedDataGrid):String
[override] Writes the footer in CSV format
CsvExporter
  
writeHeader(grid:IExtendedDataGrid):String
[override] Writes the header of the grid (columns) in csv format
CsvExporter
  
writeRecord(grid:IExtendedDataGrid, record:Object):String
[override] Writes an individual record in csv format
CsvExporter
Property Detail
contentTypeproperty
contentType:String  [read-only] [override]

Returns the content type so MS Excel launches when the exporter is run.


Implementation
    public function get contentType():String
extensionproperty 
extension:String  [read-only] [override]

Extension of the download file.


Implementation
    public function get extension():String
nameproperty 
name:String  [read-only] [override]

Name of the exporter


Implementation
    public function get name():String
Constructor Detail
CsvExporter()Constructor
public function CsvExporter()



Method Detail
writeFooter()method
override public function writeFooter(grid:IExtendedDataGrid):String

Writes the footer in CSV format

Parameters

grid:IExtendedDataGrid

Returns
String
writeHeader()method 
override public function writeHeader(grid:IExtendedDataGrid):String

Writes the header of the grid (columns) in csv format

Parameters

grid:IExtendedDataGrid

Returns
String
writeRecord()method 
override public function writeRecord(grid:IExtendedDataGrid, record:Object):String

Writes an individual record in csv format

Parameters

grid:IExtendedDataGrid
 
record:Object

Returns
String