Class DataGridComponent<T>

Type Parameters

  • T extends Record<string, any>

Implements

  • OnInit
  • OnDestroy
  • AfterContentInit

Constructors

  • Type Parameters

    • T extends Record<string, any>

    Parameters

    • cdr: ChangeDetectorRef
    • router: Router
    • OptionalformDirective: FormDirective<any>

    Returns DataGridComponent<T>

Properties

data?: T
data$: Observable<T>
dataLoading$: Observable<boolean> = ...
dataSource?: DataSource<T, DataSourceViewer>
displayProperties: null | string[] = null
editModeChange: EventEmitter<{ data?: T; done: () => void; mode: boolean }> = ...
hasError$: Observable<boolean> = ...
header: boolean = false
hideEmptyProperties: boolean = false
isDevMode: boolean = ...
isEditMode$: Observable<boolean>
isFormMode$: Observable<boolean>
isPlainMode$: Observable<boolean>
loading$: ToggleSubject = ...
mode$: Observable<DataGridMode>
rows: QueryList<DataGridRowDefDirective<T>>
rows$: Observable<QueryList<DataGridRowDefDirective<T>>> = EMPTY
viewer: DataSourceViewer = ...

Accessors

Methods

  • Parameters

    • skipPatchValue: boolean = false

    Returns void

  • A callback method that is invoked immediately after Angular has completed initialization of all of the directive's content. It is invoked only once when the directive is instantiated.

    Returns void

  • A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed.

    Returns void

  • A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.

    Returns void