ASP.NET MVC コントロールヘルプ
Sheet クラス
ファイル
wijmo.grid.sheet.js
モジュール
wijmo.grid.sheet
派生クラス
SheetCollection

FlexSheetコントロール内のシートを表します。

コンストラクタ

プロパティ

メソッド

イベント

コンストラクタ

constructor

constructor(owner?: FlexSheet, grid?: FlexGrid, sheetName?: string, rows?: number, cols?: number): Sheet

Sheetクラスの新しいインスタンスを初期化します。

パラメーター
戻り値
Sheet

プロパティ

columnCount

シート内の列数を取得または設定します。

型
number

filterSetting

このシートのフィルタ設定を取得または設定します。

型
IFilterSetting

grid

シートデータを格納するために使用される、関連付けられたFlexGrid コントロールを取得します。

型
FlexGrid

itemsSource

シートのFlexGrid インスタンスの配列またはICollectionViewを取得または設定します。

型
any

name

シートの名前を取得または設定します。

型
string

rowCount

シート内の行数を取得または設定します。

型
number

selectionRanges

選択項目の配列を取得します。

型
ObservableArray

tables

このシート内のTable オブジェクトのコレクションを取得します。 テーブルのコレクションを介してこのシートにTableを挿入または削除することができます。

型
ObservableArray

visible

シートの表示/非表示を取得または設定します。

型
boolean

メソッド

addTableFromArray

addTableFromArray(row: number, column: number, array: any[], properties?: string[], tableName?: string, tableStyle?: TableStyle, options?: ITableOptions, shift?: boolean): Table

オブジェクト配列からテーブルを追加します。

パラメーター
  • row: number

    The row position of the table.

  • column: number

    The column position of the table.

  • array: any[]

    The object array load to the table.

  • properties: string[] Optional

    It allows to retrieve only a subset of columns from the object of the array. If it is omitted, the table will load all the keys of the object of the array.

  • tableName: string Optional

    The name of the table.

  • tableStyle: TableStyle Optional

    The table style is applied to the table.

  • options: ITableOptions Optional

    The options ITableOptions of the table.

  • shift: boolean Optional

    Indicates whether cells beneath the table should be shifted or not. If not specified cells beneath will be shifted.

戻り値
Table

dispose

dispose(): void

シートのインスタンスを破棄します。

戻り値
void

findTable

findTable(rowIndex: number, columnIndex: number): Table

セルの位置を介してテーブルを検索します。

パラメーター
  • rowIndex: number

    the row index of the specified cell.

  • columnIndex: number

    the column index of the specified cell.

戻り値
Table

getCellStyle

getCellStyle(rowIndex: number, columnIndex: number): ICellStyle

指定したセルのスタイルを取得します。

パラメーター
  • rowIndex: number

    the row index of the specified cell.

  • columnIndex: number

    the column index of the specified cell.

戻り値
ICellStyle

onNameChanged

onNameChanged(e: PropertyChangedEventArgs): void

nameChanged イベントを発生させます。

パラメーター
戻り値
void

onVisibleChanged

onVisibleChanged(e: EventArgs): void

visibleChanged イベントを発生させます。

パラメーター
戻り値
void

イベント

nameChanged

シート名が変更された後に発生します。

引数
PropertyChangedEventArgs

visibleChanged

シートの表示/非表示が変更された後に発生します。

引数
EventArgs