@rxap/table-system
Version:
This package provides a set of Angular directives, components, and services to enhance data tables with features like row expansion, full-text search, and row selection with checkboxes. It includes modules for easy integration of these features into exist
109 lines (57 loc) • 3.98 kB
Markdown
[@rxap/table-system](../wiki/globals) / ExpandRowContainerComponent
# Class: ExpandRowContainerComponent\<Data\>
Defined in: [expand-row/expand-row-container/expand-row-container.component.ts:53](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/table-system/src/lib/expand-row/expand-row-container/expand-row-container.component.ts#L53)
## Type Parameters
• **Data** *extends* `Record`\<`string`, `any`\>
## Implements
- `AfterContentInit`
- `OnDestroy`
## Constructors
### new ExpandRowContainerComponent()
> **new ExpandRowContainerComponent**\<`Data`\>(`viewContainerRef`, `expandCell`): [`ExpandRowContainerComponent`](../wiki/Class.ExpandRowContainerComponent)\<`Data`\>
Defined in: [expand-row/expand-row-container/expand-row-container.component.ts:68](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/table-system/src/lib/expand-row/expand-row-container/expand-row-container.component.ts#L68)
#### Parameters
##### viewContainerRef
`ViewContainerRef`
##### expandCell
[`ExpandRowService`](../wiki/Class.ExpandRowService)\<`Data`\>
#### Returns
[`ExpandRowContainerComponent`](../wiki/Class.ExpandRowContainerComponent)\<`Data`\>
## Properties
### element
> **element**: `Data`
Defined in: [expand-row/expand-row-container/expand-row-container.component.ts:59](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/table-system/src/lib/expand-row/expand-row-container/expand-row-container.component.ts#L59)
***
### expandCell
> `readonly` **expandCell**: [`ExpandRowService`](../wiki/Class.ExpandRowService)\<`Data`\>
Defined in: [expand-row/expand-row-container/expand-row-container.component.ts:72](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/table-system/src/lib/expand-row/expand-row-container/expand-row-container.component.ts#L72)
***
### expandCellContent?
> `optional` **expandCellContent**: [`ExpandRowContentDirective`](../wiki/Class.ExpandRowContentDirective)\<`Data`\>
Defined in: [expand-row/expand-row-container/expand-row-container.component.ts:62](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/table-system/src/lib/expand-row/expand-row-container/expand-row-container.component.ts#L62)
***
### portal
> **portal**: `null` \| `TemplatePortal`\<[`ExpandCellContentDirectiveContext`](../wiki/Interface.ExpandCellContentDirectiveContext)\<`Data`\>\> = `null`
Defined in: [expand-row/expand-row-container/expand-row-container.component.ts:64](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/table-system/src/lib/expand-row/expand-row-container/expand-row-container.component.ts#L64)
## Methods
### ngAfterContentInit()
> **ngAfterContentInit**(): `void`
Defined in: [expand-row/expand-row-container/expand-row-container.component.ts:80](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/table-system/src/lib/expand-row/expand-row-container/expand-row-container.component.ts#L80)
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`
#### Implementation of
`AfterContentInit.ngAfterContentInit`
***
### ngOnDestroy()
> **ngOnDestroy**(): `void`
Defined in: [expand-row/expand-row-container/expand-row-container.component.ts:76](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/table-system/src/lib/expand-row/expand-row-container/expand-row-container.component.ts#L76)
A callback method that performs custom clean-up, invoked immediately
before a directive, pipe, or service instance is destroyed.
#### Returns
`void`
#### Implementation of
`OnDestroy.ngOnDestroy`