Skip to content

Commit ba23a1d

Browse files
committed
feat(IgxColumnGroup): add collapsible indicator template directive #3343
1 parent 675e9cb commit ba23a1d

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

projects/igniteui-angular/src/lib/grids/columns/column.module.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import {
77
IgxCellFooterTemplateDirective,
88
IgxCellHeaderTemplateDirective,
99
IgxCellTemplateDirective,
10+
IgxCollapsibleIndicatorTemplateDirective,
1011
IgxFilterCellTemplateDirective
1112
} from './templates.directive';
1213

@@ -18,6 +19,7 @@ import {
1819
IgxCellHeaderTemplateDirective,
1920
IgxCellFooterTemplateDirective,
2021
IgxCellEditorTemplateDirective,
22+
IgxCollapsibleIndicatorTemplateDirective,
2123
IgxColumnComponent,
2224
IgxColumnGroupComponent,
2325
IgxColumnLayoutComponent
@@ -33,6 +35,7 @@ import {
3335
IgxCellHeaderTemplateDirective,
3436
IgxCellFooterTemplateDirective,
3537
IgxCellEditorTemplateDirective,
38+
IgxCollapsibleIndicatorTemplateDirective,
3639
IgxColumnComponent,
3740
IgxColumnGroupComponent,
3841
IgxColumnLayoutComponent

projects/igniteui-angular/src/lib/grids/columns/templates.directive.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,11 @@ export class IgxCellEditorTemplateDirective {
4242

4343
constructor(public template: TemplateRef<any>) { }
4444
}
45+
46+
@Directive({
47+
selector: '[igxCollapsibleIndicator]'
48+
})
49+
export class IgxCollapsibleIndicatorTemplateDirective {
50+
51+
constructor(public template: TemplateRef<any>) { }
52+
}

0 commit comments

Comments
 (0)