UNPKG

@syncfusion/ej2-spreadsheet

Version:

Feature-rich JavaScript Spreadsheet (Excel) control with built-in support for selection, editing, formatting, importing and exporting to Excel

63 lines (62 loc) 1.74 kB
/** * Open properties. */ import { Spreadsheet } from '../index'; export declare class Open { private parent; isImportedFile: boolean; unProtectSheetIdx: number[]; constructor(parent: Spreadsheet); /** * Adding event listener for success and failure * * @returns {void} - Adding event listener for success and failure */ private addEventListener; /** * Removing event listener for success and failure * * @returns {void} - Removing event listener for success and failure */ private removeEventListener; /** * Rendering upload component for importing files. * * @returns {void} - Rendering upload component for importing files. */ private renderFileUpload; /** * Process after select the excel and image file. * * @param {Event} args - File select native event. * @returns {void} - Process after select the excel and image file. */ private fileSelect; /** * File open success event declaration. * * @param {string} response - File open success response text. * @returns {void} - File open success event declaration. */ private openSuccess; /** * File open failure event declaration. * * @param {object} args - Open failure arguments. * @returns {void} - File open failure event declaration. */ private openFailed; private sheetsDestroyHandler; /** * To Remove the event listeners. * * @returns {void} - To Remove the event listeners. */ destroy(): void; /** * Get the sheet open module name. * * @returns {string} - Get the sheet open module name. */ getModuleName(): string; }