UNPKG

ag-grid-enterprise

Version:

AG Grid Enterprise Features

37 lines (36 loc) 2.02 kB
import { ExcelCell, ExcelExportParams, ExcelFactoryMode, GridOptionsWrapper, IExcelCreator, ExcelExportMultipleSheetParams } from 'ag-grid-community'; import { ExcelXmlSerializingSession } from './excelXmlSerializingSession'; import { ExcelXlsxSerializingSession } from './excelXlsxSerializingSession'; import { BaseCreator } from "ag-grid-community"; declare type SerializingSession = ExcelXlsxSerializingSession | ExcelXmlSerializingSession; export declare const getMultipleSheetsAsExcel: (params: ExcelExportMultipleSheetParams) => Blob | undefined; export declare const exportMultipleSheetsAsExcel: (params: ExcelExportMultipleSheetParams) => void; export declare class ExcelCreator extends BaseCreator<ExcelCell[][], SerializingSession, ExcelExportParams> implements IExcelCreator { private columnModel; private valueService; private gridOptions; private stylingService; private gridSerializer; gridOptionsWrapper: GridOptionsWrapper; private exportMode; postConstruct(): void; protected getMergedParams(params?: ExcelExportParams): ExcelExportParams; protected getData(params: ExcelExportParams): string; export(userParams?: ExcelExportParams): string; exportDataAsExcel(params?: ExcelExportParams): string; getDataAsExcel(params?: ExcelExportParams): Blob | string | undefined; setFactoryMode(factoryMode: ExcelFactoryMode, exportMode?: 'xml' | 'xlsx'): void; getFactoryMode(exportMode: 'xml' | 'xlsx'): ExcelFactoryMode; getSheetDataForExcel(params: ExcelExportParams): string; getMultipleSheetsAsExcel(params: ExcelExportMultipleSheetParams): Blob | undefined; exportMultipleSheetsAsExcel(params: ExcelExportMultipleSheetParams): void; getDefaultFileName(): string; getDefaultFileExtension(): string; createSerializingSession(params: ExcelExportParams): SerializingSession; private styleLinker; isExportSuppressed(): boolean; private setExportMode; private getExportMode; private packageFile; } export {};