UNPKG

@syncfusion/ej2-spreadsheet

Version:

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

41 lines (40 loc) 1.11 kB
import { Workbook } from '../base/index'; import { FindOptions } from '../common/index'; /** * `WorkbookFindAndReplace` module is used to handle the search action in Spreadsheet. */ export declare class WorkbookFindAndReplace { private parent; /** * Constructor for WorkbookFindAndReplace module. * * @param {Workbook} parent - Specifies the workbook. */ constructor(parent: Workbook); /** * To destroy the FindAndReplace module. * * @returns {void} - To destroy the FindAndReplace module. */ protected destroy(): void; private addEventListener; private removeEventListener; private find; private findNext; private findNextOnSheet; private findPrevious; private findPrevOnSheet; private checkMatch; replace(args: FindOptions): void; replaceAll(args: FindOptions): void; private getDisplayText; private getCellVal; private totalCount; private findAllValues; /** * Gets the module name. * * @returns {string} - Return the string */ protected getModuleName(): string; }