Class IgxGridRowComponent

Hierarchy

Implements

  • DoCheck

Constructors

constructor

Properties

cdr

cdr: ChangeDetectorRef

crudService

crudService: IgxGridCRUDService

disabled

disabled: boolean = false

Sets whether this specific row has disabled functionality for editing and row selection. Default value is false.

this.grid.selectedRows[0].pinned = true;

element

element: ElementRef

gridAPI

gridAPI: GridBaseAPIService<IgxGridComponent>

index

index: number

The index of the row.

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

selectionService

selectionService: IgxGridSelectionService

Accessors

cells

  • get cells(): QueryList<any>
  • set cells(cells: QueryList<any>): void

dataRowIndex

  • get dataRowIndex(): number

expanded

  • get expanded(): boolean

grid

hasColumnLayouts

  • get hasColumnLayouts(): boolean

inEditMode

  • get inEditMode(): boolean

mrlRightPinnedOffset

  • get mrlRightPinnedOffset(): string

nativeElement

  • get nativeElement(): HTMLElement

pinned

  • get pinned(): boolean
  • set pinned(value: boolean): void

rowData

  • get rowData(): any
  • set rowData(v: any): void

rowID

  • get rowID(): any

Methods

delete

  • delete(): void

getContext

  • getContext(col: any, row: any): object

getContextMRL

  • getContextMRL(pinnedCols: any, row: any): object

isCellActive

  • isCellActive(visibleColumnIndex: any): boolean

pin

  • pin(): boolean

unpin

  • unpin(): boolean

update

  • update(value: any): void