@progress/kendo-angular-spreadsheet
Version:
A Spreadsheet Component for Angular
39 lines (38 loc) • 1.41 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { SVGIcon } from "@progress/kendo-svg-icons";
/**
* Represents the configuration object for defining custom cell editors.
* Use this interface to render specific cell editors when you focus a cell or a range.
*/
export interface SpreadsheetCellEditorOptions {
/**
* Sets the unique name of the cell editor.
* Use this name when you specify the editor for a cell or a range.
*
* Please note that `_validation_list` and `_validation_date` are reserved names for built-in editors.
*/
name: string;
/**
* Sets the component to use as a cell editor.
*/
component?: any;
/**
* Provides the actions that the cell editor can use.
* The `name` property must match an event name of the editor component.
*/
actions?: Array<{
name: string;
handler: Function;
}>;
/**
* Sets the name of an existing icon from a Kendo UI theme.
*/
icon?: string;
/**
* Sets the [`SVGIcon`](slug:api_icons_svgicon) to render.
*/
svgIcon?: SVGIcon;
}