Class IgxGridCRUDService

Hierarchy

Hierarchy (View Summary)

Constructors

Properties

addRowParent: IgxAddRowParent = null
cell: IgxCell = null
closeRowEditingOverlay: Subject<unknown> = ...
grid: GridType
isInCompositionMode: boolean = false
row: IgxEditRow = null

Accessors

Methods

  • Finishes the row transactions on the current row and returns whether the grid editing was canceled.

    If commit === true, passes them from the pending state to the data (or transaction service)

    <button type="button" igxButton (click)="grid.endEdit(true)">Commit Row</button>
    

    Parameters

    • commit: boolean = true
    • event: Event

    Returns boolean

  • Enters add row mode by creating temporary dummy so the user can fill in new row cells.

    Parameters

    • parentRow: RowType

      Parent row after which the Add Row UI will be rendered. If null will show it at the bottom after all rows (or top if there are not rows).

    • asChild: boolean

      Specifies if the new row should be added as a child to a tree row.

    • event: Event

      Base event that triggered the add row mode.

    Returns void