Docs
API
  • exportToExcel(params: Object)


    Exports data to Excel file.
    To generate Excel file, it is used SheetJS

    Requires to set property exporter: true

    Example

    
    var grid = new FancyGrid({
      window: true,
      modal: true,
      exporter: true,
      ...
    });
    ...
    grid.exportToExcel();
    

    Example: File Name

    
    grid.exportToExcel({
      fileName: 'My Excel'
    });
    

    Example: Without Header

    
    grid.exportToExcel({
      header: false
    });
    

    See also

    Method exportToCSV
    Method getDataAsCSV

    Doc link Export