UNPKG

@rxap/data-grid

Version:

Provides a data grid component for Angular applications. It supports plain and form modes, custom header and cell templates, and integration with Rxap Forms and Data Sources. The component allows for displaying and editing data in a tabular format with fe

54 lines (27 loc) 1.91 kB
[@rxap/data-grid](../wiki/globals) / DataGridHeaderCellDefDirective # Class: DataGridHeaderCellDefDirective Defined in: [data-grid-header-cell-def.directive.ts:15](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/data-grid/src/lib/data-grid-header-cell-def.directive.ts#L15) ## Constructors ### new DataGridHeaderCellDefDirective() > **new DataGridHeaderCellDefDirective**(`template`): [`DataGridHeaderCellDefDirective`](../wiki/Class.DataGridHeaderCellDefDirective) Defined in: [data-grid-header-cell-def.directive.ts:23](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/data-grid/src/lib/data-grid-header-cell-def.directive.ts#L23) #### Parameters ##### template `TemplateRef`\<[`DataGridHeaderCellDefDirectiveContext`](../wiki/Interface.DataGridHeaderCellDefDirectiveContext)\> #### Returns [`DataGridHeaderCellDefDirective`](../wiki/Class.DataGridHeaderCellDefDirective) ## Properties ### template > **template**: `TemplateRef`\<[`DataGridHeaderCellDefDirectiveContext`](../wiki/Interface.DataGridHeaderCellDefDirectiveContext)\> Defined in: [data-grid-header-cell-def.directive.ts:25](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/data-grid/src/lib/data-grid-header-cell-def.directive.ts#L25) ## Methods ### ngTemplateContextGuard() > `static` **ngTemplateContextGuard**(`dir`, `ctx`): `ctx is DataGridHeaderCellDefDirectiveContext` Defined in: [data-grid-header-cell-def.directive.ts:16](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/data-grid/src/lib/data-grid-header-cell-def.directive.ts#L16) #### Parameters ##### dir [`DataGridHeaderCellDefDirective`](../wiki/Class.DataGridHeaderCellDefDirective) ##### ctx `any` #### Returns `ctx is DataGridHeaderCellDefDirectiveContext`