1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

Export 2 tables in the same sheet and excel file ag-grid

Discussão em 'Angular' iniciado por Miguel Ángel Martín, Junho 17, 2025.

  1. I need to export 2 excel tables in the same excel file and the same excel sheet using angular ag-grid.

    Currently I export them in the same document but on different sheets

    var spreadsheets = [];

    spreadsheets.push(
    this.degradeTable.api?.getSheetDataForExcel()!,
    this.benchmarkTable.api?.getSheetDataForExcel()!
    );

    exportMultipleSheetsAsExcel({
    data: spreadsheets,
    fileName: 'ag-grid.xlsx',
    });


    Thank you very much for the help

    Continue reading...

Compartilhe esta Página