Ignite UI for Angular

クラス IgxPivotRowComponent

階層

Hierarchy

  • IgxRowDirective
    • IgxPivotRowComponent

コンストラクタ

プロパティ

cdr: ChangeDetectorRef
element: ElementRef<HTMLElement>
grid: PivotGridType
index: number

行のインデックス。

// 2 番目に選択された行のインデックスを取得します。
let selectedRowIndex = this.grid.selectedRows[1].index;
selectionService: IgxGridSelectionService

アクセサー

  • get key(): any
  • 行の ID を取得します。 グリッドの行は、次のいずれかの方法で識別されます:

    • primaryKey のデータ値、
    • primaryKey が省略された場合、data 全体。
    let rowID = this.grid.selectedRows[2].key;
    

    返却 any

  • get nativeElement(): HTMLElement
  • 行を表すネイティブ DOM 要素。特定の環境で null 値か可能です。

    // 2 番目に選択された項目の nativeElement を取得します。
    let selectedRowNativeElement = this.grid.selectedRows[1].nativeElement;

    返却 HTMLElement

メソッド