@syncfusion/ej2-spreadsheet
Version:
Feature-rich JavaScript Spreadsheet (Excel) control with built-in support for selection, editing, formatting, importing and exporting to Excel
60 lines (51 loc) • 1.29 kB
TypeScript
import { CellModel, SheetModel } from './index';import { ChildProperty, Collection, Property, Complex } from '@syncfusion/ej2-base';import { Cell } from './cell';import { FormatModel, Format, ExtendedRowModel } from '../common/index';
/**
* Interface for a class Row
*/
export interface RowModel {
/**
* Specifies cell and its properties for the row.
*
* @default []
*/
cells?: CellModel[];
/**
* Specifies the index to the row. Based on the index, row properties are applied.
*
* @default 0
* @asptype int
*/
index?: number;
/**
* Specifies height of the row.
*
* @default 20
* @asptype double
* @aspDefaultValue 20.0
*/
height?: number;
/**
* specifies custom height of the row.
*
* @default false
*/
customHeight?: boolean;
/**
* To hide/show the row in spreadsheet.
*
* @default false
*/
hidden?: boolean;
/**
* Specifies format of the row.
*
* @default {}
*/
format?: FormatModel;
/**
* Represents whether a row in the sheet is read-only or not. If set to true, it prevents editing the specified cell in the sheet.
*
* @default false
*/
isReadOnly?: boolean;
}