Returns the data index of an item within the bound data source.
Parameters
item: any
The item from which to get the index.
Returns number
dataIndexOfPrimaryKey
dataIndexOfPrimaryKey(key: any[]): number
Parameters
key: any[]
Returns number
findByName
findByName(name: string): any
Parameters
name: string
Returns any
getFirstVisibleIndex
getFirstVisibleIndex(): number
Gets the first visible index in the grid.
Returns number
getLastVisibleIndex
getLastVisibleIndex(): number
Gets the last visible index in the grid.
Returns number
invalidateVisibleItems
invalidateVisibleItems(): void
Invalidates the bound data for the rows currently visible.
Returns void
ngAfterContentInit
ngAfterContentInit(): void
Returns void
ngAfterViewInit
ngAfterViewInit(): void
Returns void
ngOnDestroy
ngOnDestroy(): void
Returns void
notifyClearItems
notifyClearItems(): void
Manually notifies the grid's data source that the data it has bound to has been cleared and needs to be re-examined.
This should not be called if the data that the grid is bound to is already observable.
Gets or sets the color to use for the background of the component.