Interface representing a row in the grid. It is essentially the blueprint to a row object. Contains definitions of properties and methods, relevant to a row

Constructors

Properties

addRowUI?: boolean
cells?: IgcCellType[]

Optional A list or an array of cells, that belong to the row

children?: IgcRowType[]

Optional Contains the child rows of the current row, if there are any.

data?: any
deleted?: boolean

Optional Indicates whether the row is marked for deletion.

disabled?: boolean

Optional Indicates whether the current row is disabled

expanded?: boolean

Optional Indicates whether the current row is expanded. The value is true, if the row is expanded and false, if it is collapsed

focused?: boolean

Optional Indicates whether the row is currently focused.

groupRow?: IgcGroupByRecord
hasChildren?: boolean

Optional Indicates whether the current row has any child rows

inEditMode?: boolean

Optional Indicates whether the row is currently being edited.

isGroupByRow?: boolean

Indicates whether the row is grouped.

isSummaryRow?: boolean
key?: any
parent?: IgcRowType

Optional Contains the parent row of the current row, if it has one. If the parent row exist, it means that the current row is a child row

pinned?: boolean

Optional Indicates whether the current row is pinned.

selected?: boolean

Optional Indicates whether the current row is selected

Optional Represents the hierarchical record associated with the row (for tree grids). It is of type ITreeGridRecord, which contains the data, children, the hierarchical level, etc.

Accessors

  • get grid(): IgcGridBaseDirective
  • Returns IgcGridBaseDirective

  • set grid(value): void
  • Represent the grid instance, the row belongs to

    Parameters

    Returns void

  • get index(): number
  • Returns number

  • set index(value): void
  • The index of the row within the grid

    Parameters

    • value: number

    Returns void

  • get viewIndex(): number
  • Returns number

  • set viewIndex(value): void
  • Parameters

    • value: number

    Returns void

Methods

  • Optional A method to handle deleting rows

    Returns any

  • Optional A method to handle pinning a row

    Returns void

  • Optional A method to handle unpinning a row, that has been pinned

    Returns void

  • Optional A method to handle changing the value of elements of the row It takes the new value as an argument

    Parameters

    • value: any

    Returns void