@syncfusion/ej2-spreadsheet
Version:
Feature-rich JavaScript Spreadsheet (Excel) control with built-in support for selection, editing, formatting, importing and exporting to Excel
36 lines (35 loc) • 1.16 kB
TypeScript
import { ChildProperty } from '@syncfusion/ej2-base';
import { SelectionMode } from '../common/index';
/**
* Represents the scroll settings.
*/
export declare class ScrollSettings extends ChildProperty<ScrollSettings> {
/**
* By default, the scroll mode is infinite. Set it to `true` to make it as finite.
*
* @default false
*/
isFinite: boolean;
/**
* If `enableVirtualization` is set to true, then the spreadsheet will render only the rows and columns visible within the view-port
* and load subsequent rows and columns based on scrolling.
*
* @default true
*/
enableVirtualization: boolean;
}
/**
* Represents the selection settings.
*/
export declare class SelectionSettings extends ChildProperty<SelectionSettings> {
/**
* Specifies the selection mode. The possible values are
*
* * `None`: It disables UI selection.
* * `Single`: It allows single selection of cell / row / column and disables multiple selection.
* * `Multiple`: It allows single / multiple selection of cell / row / column.
*
* @default 'Multiple'
*/
mode: SelectionMode;
}