igniteui-webcomponents-grids
Version:
Ignite UI Web Components grid components.
49 lines (29 loc) • 1.37 kB
TypeScript
import { IgcBaseEventArgs } from './igc-base-event-args';
import { IgcRowExportingEventArgs } from './igc-row-exporting-event-args';
import { IgcColumnExportingEventArgs } from './igc-column-exporting-event-args';
import { IgcGridBaseDirective } from './igc-grid-base-directive';
import { IgcExporterOptionsBase } from './igc-exporter-options-base';
import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from './common';
export declare abstract class IgcBaseExporter extends EventEmitterMixin<IgcBaseExporterEventMap, Constructor<LitElement>>(LitElement)
{
/* alternateName: exportGrid */
/**
* Method for exporting grid component's data.
*/
public export(grid: IgcGridBaseDirective, options: IgcExporterOptionsBase): void;
/**
* Method for exporting any kind of array data.
*/
public exportData(data: any[], options: IgcExporterOptionsBase): void;
}
export declare interface IgcBaseExporterEventMap {
exportEnded: CustomEvent<IgcBaseEventArgs>;
/**
* This event is emitted when a row is exported.
*/
rowExporting: CustomEvent<IgcRowExportingEventArgs>;
/**
* This event is emitted when a column is exported.
*/
columnExporting: CustomEvent<IgcColumnExportingEventArgs>;
}