@rxap/material-table-system
Version:
This package provides a set of Angular directives, components, and services to enhance and customize Angular Material tables. It includes features such as row selection, column filtering, expandable rows, table actions, and more. The goal is to simplify c
113 lines (59 loc) • 4.44 kB
Markdown
[**/material-table-system v19.0.3**](../README.md)
***
[/material-table-system](../globals.md) / ExpandRowContainerComponent
# Class: ExpandRowContainerComponent\<Data\>
Defined in: [packages/angular/material/table-system/src/lib/expand-row/expand-row-container/expand-row-container.component.ts:53](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/material/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`](ExpandRowContainerComponent.md)\<`Data`\>
Defined in: [packages/angular/material/table-system/src/lib/expand-row/expand-row-container/expand-row-container.component.ts:65](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/material/table-system/src/lib/expand-row/expand-row-container/expand-row-container.component.ts#L65)
#### Parameters
##### viewContainerRef
`ViewContainerRef`
##### expandCell
[`ExpandRowService`](ExpandRowService.md)\<`Data`\>
#### Returns
[`ExpandRowContainerComponent`](ExpandRowContainerComponent.md)\<`Data`\>
## Properties
### element
> **element**: `Data`
Defined in: [packages/angular/material/table-system/src/lib/expand-row/expand-row-container/expand-row-container.component.ts:56](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/material/table-system/src/lib/expand-row/expand-row-container/expand-row-container.component.ts#L56)
***
### expandCell
> `readonly` **expandCell**: [`ExpandRowService`](ExpandRowService.md)\<`Data`\>
Defined in: [packages/angular/material/table-system/src/lib/expand-row/expand-row-container/expand-row-container.component.ts:69](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/material/table-system/src/lib/expand-row/expand-row-container/expand-row-container.component.ts#L69)
***
### expandCellContent?
> `optional` **expandCellContent**: [`ExpandRowContentDirective`](ExpandRowContentDirective.md)\<`Data`\>
Defined in: [packages/angular/material/table-system/src/lib/expand-row/expand-row-container/expand-row-container.component.ts:59](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/material/table-system/src/lib/expand-row/expand-row-container/expand-row-container.component.ts#L59)
***
### portal
> **portal**: `null` \| `TemplatePortal`\<[`ExpandCellContentDirectiveContext`](../interfaces/ExpandCellContentDirectiveContext.md)\<`Data`\>\> = `null`
Defined in: [packages/angular/material/table-system/src/lib/expand-row/expand-row-container/expand-row-container.component.ts:61](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/material/table-system/src/lib/expand-row/expand-row-container/expand-row-container.component.ts#L61)
## Methods
### ngAfterContentInit()
> **ngAfterContentInit**(): `void`
Defined in: [packages/angular/material/table-system/src/lib/expand-row/expand-row-container/expand-row-container.component.ts:77](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/material/table-system/src/lib/expand-row/expand-row-container/expand-row-container.component.ts#L77)
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: [packages/angular/material/table-system/src/lib/expand-row/expand-row-container/expand-row-container.component.ts:73](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/material/table-system/src/lib/expand-row/expand-row-container/expand-row-container.component.ts#L73)
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`