@syncfusion/ej2-spreadsheet
Version:
Feature-rich JavaScript Spreadsheet (Excel) control with built-in support for selection, editing, formatting, importing and exporting to Excel
65 lines (64 loc) • 2.31 kB
TypeScript
import { Spreadsheet } from '../base/index';
import { RefreshArgs } from '../common/index';
import { JsonData } from '../common/index';
/**
* Render module is used to render the spreadsheet
*
* @hidden
*/
export declare class Render {
private parent;
private colMinWidth;
constructor(parent: Spreadsheet);
render(): void;
private checkTopLeftCell;
private renderSheet;
/**
* @hidden
* @param {RefreshArgs} args - Specifies the RefreshArgs.
* @param {string} address - Specifies the address.
* @param {boolean} initLoad - Specifies the initLoad.
* @param {boolean} isRefreshing - Specifies the isRefreshing.
* @param {boolean} preventModelCheck - Specifies the preventModelCheck.
* @param {boolean} openOptions - Specifies the open response options.
* @returns {void}
*/
refreshUI(args: RefreshArgs, address?: string, initLoad?: boolean, isRefreshing?: boolean, preventModelCheck?: boolean, openOptions?: JsonData): void;
private updateTopLeftScrollPosition;
private removeSheet;
/**
* Refresh the active sheet.
*
* @param {boolean} isOpen - Specifies the isOpen.
* @param {boolean} resize - Set `true` to refresh the sheet with exiting scroll top and left.
* @param {boolean} focusEle - Specify the focusEle.
* @param {boolean} preventModelCheck - Specifies the preventModelCheck.
* @param {boolean} openOptions - Specifies the open response options.
* @returns {void}
*/
refreshSheet(isOpen?: boolean, resize?: boolean, focusEle?: boolean, preventModelCheck?: boolean, openOptions?: JsonData): void;
/**
* Used to set sheet panel size.
*
* @param {number} colMinWidth - Specifies column minimum width value.
* @returns {void}
*/
setSheetPanelSize(colMinWidth?: number): void;
private roundValue;
private moveOrDuplicateSheetHandler;
decreaseHidden(startIdx: number, endIdx: number, freezeCount: number, layout?: string): number;
/**
* Registing the renderer related services.
*
* @returns {void}
*/
private instantiateRenderer;
/**
* Destroy the Render module.
*
* @returns {void}
*/
destroy(): void;
private addEventListener;
private removeEventListener;
}