igniteui-angular-spreadsheet
Version:
Ignite UI Angular spreadsheet component for displaying and editing Microsoft Excel workbooks for modern web apps.
45 lines (44 loc) • 1.25 kB
JavaScript
import { IgxCancelEventArgs } from "igniteui-angular-core";
import { ensureBool } from "igniteui-angular-core";
/**
* Event arguments for the
* editModeExiting event.
*/
export class IgxSpreadsheetEditModeExitingEventArgs extends IgxCancelEventArgs {
constructor() {
super();
}
/**
* @hidden
*/
get i() {
return this._implementation;
}
/**
* Returns or sets a boolean indicating whether the changes will be made to the cell's value when edit mode ends.
*/
get acceptChanges() {
return this.i.acceptChanges;
}
set acceptChanges(v) {
this.i.acceptChanges = ensureBool(v);
}
/**
* Returns a boolean indicating if the edit mode is being forced to exit edit mode in which case it cannot be cancelled.
*/
get canCancel() {
return this.i.canCancel;
}
/**
* Returns the cell for which the control is exiting edit mode.
*/
get cell() {
return this.i.cell;
}
/**
* Returns the edit text that will be used to update the cell(s).
*/
get editText() {
return this.i.editText;
}
}