flexiciousNmsp.CsvExporter Class
Exports the grid in CSV format
Constructor
flexiciousNmsp.CsvExporter
    
        ()
    
    
    
    
    
    
    
    
    
    Item Index
Methods
buildHeader
    
        
            (
    
    
        
            String
        
    
    
    
    
    
    
    
    
    - 
                    
                        
grid 
Parameters:
- 
                    
                        
gridObject 
Returns:
                
                    
                        String:
                    
                
            
        escapeCsv
    
        
            (
    
    
        
            String | XML
        
    
    
    
    
    
    
    
    
    - 
                    
                        
val 
Parameters:
- 
                    
                        
valObject 
Returns:
                
                    
                        String | XML:
                    
                
            
        getContentType
    
        ()
    
    
        
            String
        
    
    
    
    
    
    
    
    
    Returns the content type so MS Excel launches when the exporter is run.
Returns:
                
                    
                        String:
                    
                
            
        getExtension
    
        ()
    
    
        
            String
        
    
    
    
    
    
    
    
    
    Extension of the download file.
Returns:
                
                    
                        String:
                    
                
            
        getName
    
        ()
    
    
        
            String
        
    
    
    
    
    
    
    
    
    Name of the exporter
Returns:
                
                    
                        String:
                    
                
            
        writeHeader
    
        
            (
    
    
        
            String
        
    
    
    
    
    
    
    
    
    - 
                    
                        
grid 
Writes the header of the grid (columns) in csv format
Parameters:
- 
                    
                        
gridObject 
Returns:
                
                    
                        String:
                    
                
            
        writeRecord
    
        
            (
    
    
        
            String
        
    
    
    
    
    
    
    
    
    - 
                    
                        
grid - 
                    
                        
record 
Writes an individual record in csv format
Parameters:
- 
                    
                        
gridObject - 
                    
                        
recordObject 
Returns:
                
                    
                        String:
                    
                
            
        