UNPKG

@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

62 lines (31 loc) 1.82 kB
[@rxap/table-system](../wiki/globals) / ExpandRowDirective # Class: ExpandRowDirective\<Data\> Defined in: [expand-row/expand-row.directive.ts:14](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/table-system/src/lib/expand-row/expand-row.directive.ts#L14) ## Type Parameters **Data** *extends* `Record`\<`string`, `any`\> ## Constructors ### new ExpandRowDirective() > **new ExpandRowDirective**\<`Data`\>(`expandCell`): [`ExpandRowDirective`](../wiki/Class.ExpandRowDirective)\<`Data`\> Defined in: [expand-row/expand-row.directive.ts:27](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/table-system/src/lib/expand-row/expand-row.directive.ts#L27) #### Parameters ##### expandCell [`ExpandRowService`](../wiki/Class.ExpandRowService)\<`Data`\> #### Returns [`ExpandRowDirective`](../wiki/Class.ExpandRowDirective)\<`Data`\> ## Properties ### element > **element**: `Data` Defined in: [expand-row/expand-row.directive.ts:25](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/table-system/src/lib/expand-row/expand-row.directive.ts#L25) ## Accessors ### isExpanded #### Get Signature > **get** **isExpanded**(): `boolean` Defined in: [expand-row/expand-row.directive.ts:17](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/table-system/src/lib/expand-row/expand-row.directive.ts#L17) ##### Returns `boolean` ## Methods ### onClick() > **onClick**(): `void` Defined in: [expand-row/expand-row.directive.ts:34](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/table-system/src/lib/expand-row/expand-row.directive.ts#L34) #### Returns `void`