@syncfusion/ej2-grids
Version:
Feature-rich JavaScript datagrid (datatable) control with built-in support for editing, filtering, grouping, paging, sorting, and exporting to Excel.
68 lines (67 loc) • 1.67 kB
TypeScript
import { IGrid } from '../base/interface';
import { Scroll } from '../actions/scroll';
/**
* @returns {string[]} returns the cloned property
* @hidden
*/
export declare function getCloneProperties(): string[];
/**
*
* The `Print` module is used to handle print action.
*/
export declare class Print {
private parent;
private printWind;
private scrollModule;
private isAsyncPrint;
static printGridProp: string[];
private defered;
private actionBeginFunction;
/**
* Constructor for the Grid print module
*
* @param {IGrid} parent - specifies the IGrid
* @param {Scroll} scrollModule - specifies the scroll module
* @hidden
*/
constructor(parent?: IGrid, scrollModule?: Scroll);
private isContentReady;
private hierarchyPrint;
/**
* By default, prints all the Grid pages and hides the pager.
* > You can customize print options using the
* [`printMode`](./printmode/).
*
* @returns {void}
*/
print(): void;
private onEmpty;
private actionBegin;
private renderPrintGrid;
private contentReady;
private printGrid;
private printGridElement;
private removeColGroup;
private hideColGroup;
/**
* To destroy the print
*
* @returns {boolean} returns the isPrintGrid or not
* @hidden
*/
isPrintGrid(): boolean;
/**
* To destroy the print
*
* @returns {void}
* @hidden
*/
destroy(): void;
/**
* For internal use only - Get the module name.
*
* @returns {string} returns the module name
* @private
*/
protected getModuleName(): string;
}