Docs
API
  • getDataAsCSV(params: Object): String


    Returns csv data.

    Requires to set property exporter: true

    Example: Basic

    
    grid.getDataAsCSV();
    

    Example: With Header

    
    grid.getDataAsCSV({
      header: true
    });
    

    Example: Custom Separator

    
    grid.getDataAsCSV({
      separator: ' '
    });
    

    See also

    Method exportToCSV
    Method exportToExcel
    Method getData
    Method getDataFiltered
    Method getDataView