UNPKG

igniteui-angular-spreadsheet

Version:

Ignite UI Angular spreadsheet component for displaying and editing Microsoft Excel workbooks for modern web apps.

33 lines (31 loc) 970 B
import { IgxCancelEventArgs } from "igniteui-angular-core"; /** * Event arguments for the * editRangePasswordNeeded event. */ export class IgxSpreadsheetEditRangePasswordNeededEventArgs extends IgxCancelEventArgs { constructor() { super(); } /** * @hidden */ get i() { return this._implementation; } /** * Returns the collection of protected ranges that should be unlocked. * This collection contains the protected ranges that overlap with the * locked cells that need to be unlocked. There may be multiple ranges that overlap the locked * cells so it may not be that every range needs to be unlocked. */ get ranges() { return this.i.ranges; } /** * Unlocks the associated range(s) without validating the password. */ unprotect() { this.i.unprotect(); } }