@syncfusion/ej2-angular-spreadsheet
Version:
Feature-rich JavaScript Spreadsheet (Excel) control with built-in support for selection, editing, formatting, importing and exporting to Excel for Angular
75 lines (74 loc) • 2.21 kB
TypeScript
import { ViewContainerRef } from '@angular/core';
import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
import * as i0 from "@angular/core";
/**
* `e-row` directive represent a row of the Angular Spreadsheet.
* It must be contained in a `e-sheet` directive.
* ```html
* <ejs-spreadsheet>
* <e-sheets>
* <e-sheet>
* <e-rows>
* <e-row></e-row>
* </e-rows>
* </e-sheet>
* </e-sheets>
* </ejs-spreadsheet>
* ```
*/
export declare class RowDirective extends ComplexBase<RowDirective> {
private viewContainerRef;
directivePropList: any;
childCells: any;
tags: string[];
/**
* Specifies cell and its properties for the row.
* @default []
*/
cells: any;
/**
* specifies custom height of the row.
* @default false
*/
customHeight: any;
/**
* Specifies format of the row.
* @default {}
*/
format: any;
/**
* Specifies height of the row.
* @default 20
* @asptype double
* @aspdefaultvalue 20.0
*/
height: any;
/**
* To hide/show the row in spreadsheet.
* @default false
*/
hidden: any;
/**
* Specifies the index to the row. Based on the index, row properties are applied.
* @default 0
* @asptype int
*/
index: any;
/**
* 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: any;
constructor(viewContainerRef: ViewContainerRef);
static ɵfac: i0.ɵɵFactoryDeclaration<RowDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<RowDirective, "e-rows>e-row", never, { "cells": "cells"; "customHeight": "customHeight"; "format": "format"; "height": "height"; "hidden": "hidden"; "index": "index"; "isReadOnly": "isReadOnly"; }, {}, ["childCells"]>;
}
/**
* Row Array Directive
* @private
*/
export declare class RowsDirective extends ArrayBase<RowsDirective> {
constructor();
static ɵfac: i0.ɵɵFactoryDeclaration<RowsDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<RowsDirective, "e-sheet>e-rows", never, {}, {}, ["children"]>;
}