module wijmo.grid.sheet { 'use strict'; /** * Defines the HeaderRow class used to display header information for the bind sheet. */ export class HeaderRow extends wijmo.grid.Row { constructor() { super(); this.isReadOnly = true; } } /** * Defines the RowColDataCollection class used to store the row and column data for FlexSheet control. */ export class RowColDataCollection extends wijmo.collections.ObservableArray { private _szDef = 25; /** * Initializes a new instance of a RowColDataCollection class. * * @param defaultSize The default size for the collection. */ constructor(defaultSize?: number){ super(); if(isNumber(defaultSize)){ this._szDef = defaultSize; } } /** * Gets or sets the default size of elements in this collection. */ get defaultSize(): number { return this._szDef; } set defaultSize(value: number) { if (this._szDef !== value) { this._szDef = asNumber(value, false, true); } } } }