Class IgxPivotRowComponent

Hierarchy

Hierarchy

  • IgxRowDirective
    • IgxPivotRowComponent

Constructors

Properties

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

The index of the row.

// get the index of the second selected row
let selectedRowIndex = this.grid.selectedRows[1].index;
selectionService: IgxGridSelectionService

Accessors

  • get key(): any
  • Gets the ID of the row. A row in the grid is identified either by:

    • primaryKey data value,
    • the whole data, if the primaryKey is omitted.
    let rowID = this.grid.selectedRows[2].key;
    

    Returns any

  • get nativeElement(): HTMLElement
  • The native DOM element representing the row. Could be null in certain environments.

    // get the nativeElement of the second selected row
    let selectedRowNativeElement = this.grid.selectedRows[1].nativeElement;

    Returns HTMLElement

Methods